Plot Graph?

Posted on 2002-06-16
Medium Priority
Last Modified: 2012-05-04

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?

Question by:iecu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

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/


Accepted Solution

lokeshv earned 300 total points
ID: 7083612


easy to use n really good

Hope this helps


Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
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…
Suggested Courses

764 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