Move internal row pointer

msql_createdb
msql_db_query
mSQL Functions
PHP Manual

# msql_data_seek

(PHP 4, PHP 5)

msql_data_seek — Move internal row pointer

### Description

bool msql_data_seek ( resource `$result` , int `$row_number` )

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.

### Parameters

`result`

  The result resource that is being evaluated. This result comes from a call to msql_query().

`row_number`

  The seeked row number.

### Return Values

Returns `TRUE` on success or `FALSE` on failure.

### See Also

- msql_fetch_array() - Fetch row as array
- msql_fetch_object() - Fetch row as object
- msql_fetch_row() - Get row as enumerated array
- msql_result() - Get result data

msql_createdb
msql_db_query
mSQL Functions
PHP Manual