Re: method for mysql_data_seek in DB class
| From: | Ron Dyck | Date: | Wed, 06 Mar 2002 18:42:30 +0000 |
| Subject: | Re: method for mysql_data_seek in DB class | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-936@lists.php.net to get a copy of this message | ||
> The 4th parameter of fetchInto() or the 3rd parameter of fetchRow()
> (optional in both cases) take the number of the row, that is passed
> to mysql_data_seek() for data retrieving.
Here's the problem I'm having:
I do this and get 3 rows
while ($Row = $Result->fetchRow()) {
3 rows here
}
rewind it:
$Result->fetchRow(DB_FETCHMODE_ORDERED, 0);
only to have the new result with 2 rows
while ($Row = $Result->fetchRow()) {
2 rows here
}
Any thoughts?
ron