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

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.