• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • msql_data_seek()

    (PHP 4, PHP 5, PHP 7)

    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_createdb()

    下篇:msql_db_query()