Re: how to create a graph from a db?
| From: | Andy | Date: | Wed, 05 Jun 2002 05:41:41 +0000 |
| Subject: | Re: how to create a graph from a db? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19618@lists.php.net to get a copy of this message | ||
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" <cal@calevans.com> schrieb im Newsbeitrag
news:FLEGKEMHDIDDEJOGHHNFCEMNEMAA.cal@calevans.com...
> 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? 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.
>
> 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
>
>