You are here: Re: Re-point into first record « PHP Programming Language « IT news, forums, messages
Re: Re-point into first record

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация