RE: [PHP-DB] how to create a graph from a db?

2002-06-04 Thread Cal Evans

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:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 12:01 AM
To: [EMAIL PROTECTED]
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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] how to create a graph from a db?

2002-06-04 Thread Shrock, Court

You can also use something like jpgraph (http://www.aditus.nu/jpgraph/)...

-Original Message-
From: Chris Payne
To: [EMAIL PROTECTED]
Sent: 6/4/02 10:00 PM
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
 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] how to create a graph from a db?

2002-06-04 Thread Andy

Hi Chris,

this is very easy done with a library called jpgraph.

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

A nice example can be found on my website at:
http://www.globosapiens.net/community/03010001.html

Hope this helps,

Andy

--

http://www.globosapiens.net
Global Travellers Network!



Cal Evans [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 12:01 AM
 To: [EMAIL PROTECTED]
 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





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php