Posted by Michael Fesser on 09/04/07 10:25
..oO(Anees)
>am using mysql_fetch_array() method to fetch all the record and list
>it.
>after finishing all the records fetched i need to Index the record
>position into the beginning of the record set.
>
>Does we have any other option to re point it to first record instead
>of using mysql_query() method again
mysql_data_seek()
But if I would need the same record set multiple times, I would fetch it
into an array before I use it. Then you can reset and loop through as
often as you want, even select a particular record.
Micha
Navigation:
[Reply to this message]
|