Link to home
Start Free TrialLog in
Avatar of iecu
iecu

asked on

Plot Graph?

Hi,

I am a beginner in using PHP.

Can I plot a graph at my web page in using PHP after reading data from my database?

Is there a simple example in doing this?

Thanks!
Avatar of Hamlet081299
Hamlet081299

Yes.  You would do this using the GD image functions.

If you are feeling confident you can try to draw the graph yourself.  If you know in advance the likely range of values the data will take then this isn't too hard, but if you need it to be very generic then things get a lot tougher.

If you don't feel inclined to write your own graphing routines then I would highly recommend you check out HotScripts ... http://www.hotscripts.com/PHP/Scripts_and_Programs/Graphs_and_Charts/

ASKER CERTIFIED SOLUTION
Avatar of lokeshv
lokeshv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial