note 9075 deleted from function.mysql-data-seek by felipe

From: Date: Sat, 29 Dec 2007 18:50:04 +0000
Subject: note 9075 deleted from function.mysql-data-seek by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134171@lists.php.net to get a copy of this message
Note Submitter: justus dot brugman at 12move dot nl ---- So you can use it as the equivalent of the reset() call for an array. eg. while ($row = mysql_fetch_object($result_01)) { // code goes here while ($row = mysql_fetch_object($result_02)) { // code goes here. } mysql_data_seek($result_02,0) } Still hoping that there is going to be a better way, like mysql_reset($result).

« previous php.notes (#134171) next »