Simple DB_DataObject question...

From: Date: Sun, 04 Jul 2004 20:34:24 +0000
Subject: Simple DB_DataObject question...
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13484@lists.php.net to get a copy of this message
Folks, I want to loop through a DB_DataObject.... while($my_obj->fetch()) { // Do something } ... then later on in the same script I want to loop through the object again, starting from the beginning.... while($my_obj->fetch() { // Do something else } ... so of course I need to reset the dataset so that fetch() starts at the beginning the second time. How do I do this? Joseph

« previous php.pear.general (#13484) next »