PHP 手册
后退 |  | 前进

# msql_data_seek

(PHP 3, 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_fetch_array()
msql_fetch_object()
msql_fetch_row()
msql_result()

后退 | 起点 | 前进
msql_createdb | 上一级 | msql_db_query