Reply to Re: [PHP] php resultset restart??

Your name:

Reply:


Posted by Philip Hallstrom on 05/11/05 17:36

> i've checked the PHP manual but can't find a function for this, perhaps I'm
> missing something.
>
> I get a resultset and loop through it but this is in a loop so it only executes
> the first time. is this because the resultset is at the end? is there a way to
> tell PHP to start at the beginning of the resultset again for each loop? Or is
> it best just to copy the resultset to an array and just loop through the array
> multilpe times?

if it's mysql, then ...

http://us3.php.net/manual/en/function.mysql-data-seek.php

probably exists for other db backends as well...

[Back to original 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

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