- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- mSQL
- mSQL 函数
msql_data_seek
(PHP 4, PHP 5, PHP 7)
msql_data_seek — Move internal row pointer
说明
msql_data_seek ( resource$result
, int $row_number
) : bool
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_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
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.msql-data-seek.php