msql_data_seek

(PHP 3, PHP 4, PHP 5)

msql_data_seek -- Move internal row pointer

說明

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.

參數

result

返回類型為 resource 的結果集。該結果集從 msql_query() 的呼叫中得到。

row_number

The seeked row number.

返回值

若果成功則返回 TRUE,失敗則返回 FALSE