Mailinglisten-Archive |
Hello!
Is there a way to reset the pointer of a mysql_result?
One simple example:
$result = mysql_query("select * from ...");
while ($obj = mysql_fetch_object($result)) echo "<br>#".$obj->id;
# And here's the problem!!!
reset($result); # e.g.
while ($obj = mysql_fetch_object($result)) echo "<br>#".$obj->user;
--
Berthold
(live long and prosper...)
---
!!NEU!!
Fragen und Antworten zu MySQL und dieser Liste unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive