JeeeeezzZZZZ toby!!  you don`t give us much warning!  2 hours?  I think by
the time I saw your email you had already been shafted - if not, do a quick
and dirty one by echoing some image tags - use some little coloured gifs or
jpegs and stretch them to the right length according to the values in the
database.  you will get a reasonable bar graph that way if the values aren`t
too large in range - your only other hope is to install the GD graphics
library, read the manual at at least 600 words per minute until you know
everything about manipulating graphics and text and curves etc etc with the
GD routines then code it all up in about the last ten minutes.   Maybe you
should stick with the stretched jpegs for now.

echo "<img src=\"yellow.jpg\" height=\"10\"
idth=\"".$myrow["somefieldname"]."\"><br>\n";
echo "<img src=\"red.jpg\" height=\"10\"
width=\"".$myrow["somefieldname"]."\"><br>\n";
echo "<img src=\"blue.jpg\" height=\"10\"
width=\"".$myrow["somefieldname"]."\"><br>\n";

Good luck! - get moving!



----- Original Message -----
From: "toby z" <[EMAIL PROTECTED]>
To: "php hlp list" <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 11:43 PM
Subject: [PHP-WIN] graphs in php ???? urgent plz ! ! ! !


> hi guyz
> dis one is really bad
>
> can i make a graph in php thru some form gathered data
> (stored in mysql db) ?????
>
> n if dis can b dun HOW the devil do i do that ????
>
>
> help me plz i ve to submitt a report in 2 hrs
> :'(
>
> thnx a billion guyz
>
> toby.....
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to