mysql_data_seek()
mysql_data_seek - Move internal result pointer
Syntax
bool mysql_data_seek (
resource $result,
int $row_number)
Arguments
- result - The result resource that is being evaluated. This result comes from a call to mysql_query().
- row_number - The desired row number of the new result pointer.
Description
mysql_data_seek() moves the internal row pointer of the MySQL result associated with the specified result identifier to point to the specified row number. The next call to a MySQL fetch function, such as mysql_fetch_assoc(), would return that row.
Version
PHP 4, 5
Return value
Returns TRUE on success or FALSE on failure.