mSQL
PHP Manual

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.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


mSQL
PHP Manual