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 or to find them.


* Cal Evans
* Journeyman Programmer
* Techno-Mage

-----Original Message-----
From: Chris Payne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 12:01 AM
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?  Id 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.


Chris Payne

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to