PHP Manual
Prev |  | Next

# mysql_data_seek

mysql_data_seek -- Move internal result pointer

## Description

`int mysql_data_seek`(int result_identifier, int row_number);

Returns: true on success, false on failure

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 mysql_fetch_row() would return that row.

`Row_number` starts at 0.

Prev | Home | Next
mysql_create_db | Up | mysql_db_query