Re: doing SELECTS and keeping the array intact with php

2005-01-03 Thread Sebastian Burg
julian haffegee schrieb: Hi all, this has been bugging me for some time now. I want to do a mysql select then using php while ($a_row = mysql_fetch_array($result)) { do something to get a small portion of the data } hi julian, how about using this snip $result = mysql_query($sql)or die("fehler:"

Re: doing SELECTS and keeping the array intact with php

2005-01-03 Thread Peter Brawley
mysql_field_seek( resultset, 0 ); PB - julian haffegee wrote: Hi all, this has been bugging me for some time now. I want to do a mysql select then using php while ($a_row = mysql_fetch_array($result)) { do something to get a small portion of the data } and that works fine. Then later I need to

RE: doing SELECTS and keeping the array intact with php

2005-01-03 Thread Tom Crimmins
Sent: Monday, January 03, 2005 12:31 PM To: MySQL General List Subject: doing SELECTS and keeping the array intact with php Hi all, this has been bugging me for some time now. I want to do a mysql select then using php while ($a_row = mysql_fetch_array($result)) { do something to get a small

RE: doing SELECTS and keeping the array intact with php

2005-01-03 Thread Jay Blanchard
[snip] this has been bugging me for some time now. I want to do a mysql select then using php while ($a_row = mysql_fetch_array($result)) { do something to get a small portion of the data } and that works fine. Then later I need to access $result as a complete array again. Is there a way I c

doing SELECTS and keeping the array intact with php

2005-01-03 Thread julian haffegee
Hi all, this has been bugging me for some time now. I want to do a mysql select then using php while ($a_row = mysql_fetch_array($result)) { do something to get a small portion of the data } and that works fine. Then later I need to access $result as a complete array again. Is there a way I can k