Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

how to create graphs by extracting information from database?

hi guys.. I'll like to display graphs to show statistics with an option that user can choose to view it in a bar graph, line graph or pie chart. From what i've look up in the internet, mostly were done by entering values into an array. that would be hard-coding it isn't it so is there a way to draw out the information from the database itself directly.

The codes to display the graphs too.. it doesn't need to be fancy with animation or anything. It'd be great if you can be detailed about it because i'm really bad with PHP codes. Thanks.

1 Answer

Relevance
  • ?
    Lv 7
    1 decade ago
    Favorite Answer

    Making graphs from php is not an easy task, but there are scripts available (google Php pie-charts scripts).

    You can have a basic understanding downloading the free script "Dealing with graphs in php" from http://www.web2coders.com/

    It will give you the basics.

Still have questions? Get your answers by asking now.