Home > PHP > Function > mSQL > msql_data_seek()

msql_data_seek()

msql_data_seek - Move internal row pointer

Syntax

bool msql_data_seek (resource $result, int $row_number)

Arguments

  • result - The result resource that is being evaluated. This result comes from a call to msql_query().
  • row_number - The seeked row number.

Description

msql_data_seek() moves the internal row pointer of the mSQL result associated with the specified query identifier to point to the specified row number. The next call to msql_fetch_row() would return that row.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.