Re: [PHP] reusing MySQL results -- resetting mySQL pointer with mysql_data_seek()

2001-04-04 Thread Juan C. Borrero
Nope. Mysql_data_seek($result,0) and it is. - Original Message - From: "Daevid Vincent" <[EMAIL PROTECTED]> To: "Mark Roedel" <[EMAIL PROTECTED]>; "George Wright" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 04,

RE: [PHP] reusing MySQL results -- resetting mySQL pointer with mysql_data_seek()

2001-04-04 Thread George Wright
TECTED]] > Sent: Wednesday, April 04, 2001 4:18 PM > To: Mark Roedel; George Wright; [EMAIL PROTECTED] > Subject: RE: [PHP] reusing MySQL results -- resetting mySQL > pointer with > mysql_data_seek() > > > Just my two cents here... > > I could be mistaken, but wouldn&

RE: [PHP] reusing MySQL results -- resetting mySQL pointer with mysql_data_seek()

2001-04-04 Thread Daevid Vincent
Just my two cents here... I could be mistaken, but wouldn't this method hit the database twice? I would suggest you take your results the first time and store them in an array or multidimensional array, then you can get to any element at any time further down the page. > -Original Message--