How to generate graphs and charts from mysql database in php

Wern Ancheta picture Wern Ancheta · Dec 4, 2010 · Viewed 207.1k times · Source

How can I generate graphs and charts from a mysql database using php?

I'm trying to use "chart director" but I can't even install it properly, because I'm using php version 5.3, and it's using a deprecated function dl.

Do you know of any alternatives that:

  • fully support php 5.3
  • are easy to use for beginners
  • can access the mysql database and chart its data

Answer

sushil bharwani picture sushil bharwani · Dec 4, 2010

You can use JPGraph and Graphpite

http://jpgraph.net/

http://graphpite.sourceforge.net/