PHP - Manual: msql_data_seek
2024-11-14
(PHP 4, PHP 5, PHP 7)
msql_data_seek — Move internal row pointer
$result
, int $row_number
) : boolmsql_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.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
官方地址:https://www.php.net/manual/en/function.msql-data-seek.php