Trying to get mysql_fetch_array data into phplot.
| From: | Jamie Dahl | Date: | Tue, 14 Oct 2003 21:37:11 +0000 |
| Subject: | Trying to get mysql_fetch_array data into phplot. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166120@lists.php.net to get a copy of this message | ||
I'm trying to track progress etc..say running and how each run gets' progressivly longer etc...or the time decreases as the distance stays the same etc..
Anyway, when doing the mysql_fetch_array, I need that data to somehow not get lost once the while loop has completed, also, I need to stack the array so that phplot can run w/ it... The data that gets passed to phplot.php should look like the following, but..that's only b/c I'm printr inside the while loop...You cannot pass the DrawGraph function inside the loop and expect it to function it correctly.
If someone would like to give me some ideas/tips/pointers it would be greatly appreciated!
-jamied
--
"Thousands of tired, nerve-shaken, over-civilized people are beginning
to find out that going to the mountains is going home; that wilderness
is a necessity; and that mountain parks and reservations are useful not
only as fountains of timber and irrigating rivers, but as fountains of
life." --John Muir