RE: [PHP-DB] how to create a graph from a db?
| From: | Cal Evans | Date: | Wed, 05 Jun 2002 03:20:19 +0000 |
| Subject: | RE: [PHP-DB] how to create a graph from a db? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19611@lists.php.net to get a copy of this message | ||
never done it myself but look into the png/jpg routines built into PHP. You
can use them to dynamically create an image. What you DO with the image is
up to you. :)
Seriously, there are some tutorials out there about this very topic. hit
phpbuilder.com or google.com to find them.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-----Original Message-----
From: Chris Payne [mailto:chris@planetoxygene.com]
Sent: Wednesday, June 05, 2002 12:01 AM
To: php-db@lists.php.net
Subject: [PHP-DB] how to create a graph from a db?
Hi there everyone,
I have a db and the last column is id2 – this adds a 1 everytime a
banner is clicked so that I can track which banners are being clicked
the most – that works great, no problems – but how can I get the result
out as a chart on the screen? I’d like to list the 5 most popular
banners on the screen, that I can do, but how do I display the numbers
as images in a chart? Any help would REALLY be appreciated.
Thanks
Chris Payne
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002