Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Jason Wong
On Tuesday 13 July 2004 00:05, Eric Boerner wrote: > I am having trouble setting array data from within a MySQL results > query. I have modified data from the result and wish to enter it into > it's own array ($data). That then is used to generate a graph. The > following code basically gives me a

Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread John W. Holmes
Eric Boerner wrote: Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an empty array... I doubt the

RE: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Eric Boerner
Nevermind, I figured it out. Simple case of duh... $data[] = array('$time' => '$time','$aval' => 'aval'); Should have been: $data[] = array('$time' => "$time" ,'$aval' => "aval"); Thanks. :) -Original Message- From: Eric Boerner [mailto:[EMAIL PROTECTED] Sent: Monday,