Solved

Plot Graph?

Posted on 2002-06-16
2
1,007 Views
Last Modified: 2012-05-04
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!
0
Comment
Question by:iecu
2 Comments
 
LVL 5

Expert Comment

by:Hamlet081299
ID: 7082872
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/

0
 
LVL 4

Accepted Solution

by:
lokeshv earned 100 total points
ID: 7083612
JPGRAPH

http://www.aditus.nu/jpgraph/


easy to use n really good


Hope this helps


Lk
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question