[PHP] Trying to get mysql_fetch_array data into phplot.
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[Fwd: Re: [PHP] Trying to get mysql_fetch_array data into phplot.]
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 It would help if I had included the output etc... This is what it should look like: rray ( [0] => Array ( [0] => 0 [1] => 2003-10-01 [2] => 2.68 ) ) Array ( [0] => Array ( [0] => 0 [1] => 2003-10-01 [2] => 2.68 ) [1] => Array ( [0] => 1 [1] => 2003-10-04 [2] => 15 ) ) How I'm currently doing this! while ($row = mysql_fetch_array($result)) { $date = $row["r_date"]; $dist = $row["r_distance"]; $rundata[$count]=array("$count","$date",$dist); $count++; echo ""; print_r($rundata); echo ""; } Those last three commands would obviously be removed, Anyway, if someone can offer some needed guidance, it would be appreciated! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Possible configuration problem w/ php??
So after I recently upgraded from php4 to php5 I noticed that email attachments > 88k get truncated at 88k within squirrelmail/roundcube, however those same email attachments work just fine if I hit the imap server in thunderbird etc... Has anyone else run across this before? I've seen other bugs on different sites, but I did not manage to find any answers to this puzzle. thanks -- Jamie Dahl "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 "We must remember the First Amendment which protects any shrill jackass no matter how self-seeking" -- F. G. Withington "The Mountains are calling so I must go" --John Muir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php