[PHP] Parsing recordsets - only first row returned

2004-03-18 Thread Alex Hogan
Hi All, I am parsing data returned from a field that looks like this; 6-8-3-5-10-9-6__7-5-9--etc... The code below parses out the data they way I want it but only returns the first row. I need to compare all rows and return an average from each of the parsed out numbers. Where have I

RE: [PHP] Parsing recordsets - only first row returned

2004-03-18 Thread Chris W. Parker
Alex Hogan mailto:[EMAIL PROTECTED] on Thursday, March 18, 2004 10:39 AM said: Hi All, I am parsing data returned from a field that looks like this; 6-8-3-5-10-9-6__7-5-9--etc... The code below parses out the data they way I want it but only returns the first row. I

Re: [PHP] Parsing recordsets - only first row returned

2004-03-18 Thread John W. Holmes
From: Alex Hogan [EMAIL PROTECTED] I am parsing data returned from a field that looks like this; 6-8-3-5-10-9-6__7-5-9--etc... Wow... you're totally missing the point of a database when you store data like this. The code below parses out the data they way I want it but only returns the

RE: [PHP] Parsing recordsets - only first row returned

2004-03-18 Thread Alex Hogan
thanks for all the white space. one blank line isn't enough for my brain to properly separate the different parts of your email. but now, thanks to your extra white space i don't have a headache anymore. thanks again! it really helps! Anything I can do.., just a little present from MS

RE: [PHP] Parsing recordsets - only first row returned

2004-03-18 Thread Alex Hogan
Wow... you're totally missing the point of a database when you store data like this. Not my db... So how many times does the while() loop execute? Once How many rows is your query actually returning? Just one. What does the output actually look like and what should it look like. 9 8 9