Forum und email

msql_data_seek

(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.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE