Re: [PHP] Repeats of values

2002-12-31 Thread Tom Rogers
Hi, Wednesday, January 1, 2003, 2:47:57 AM, you wrote: AR> I'm running the following sql query which outputs a repeat value for each AR> field in the html cell box. AR> Like this: AR> .. AR> 3.3 3.3 78 78 2002-06-11 2002-06-11 AR> ... AR> which is not what I w

Re: [PHP] Repeats of values

2002-12-31 Thread Andrew Brampton
Hi, I think changing while(list (,$value) = each ($line)) { to foreach ($line as $value) { might help but I'm unsure, either way foreach is easier to read :) Andrew - Original Message - From: "Anthony Ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 4: