PHP 手冊
前一頁 |  | 下一頁

# sqlite_seek

(PHP 5)

sqlite_seek

(no version information, might be only in CVS)

SQLiteResult->seek -- Seek to a particular row number of a buffered result set

## Description

bool sqlite_seek ( resource result, int rownum )

Object oriented style (method):

class SQLiteResult {
bool seek ( int rownum )
}

sqlite_seek() seeks to the row given by the parameter rownum. The row number is zero-based (0 is the first row). Returns `FALSE` if the row does not exist, `TRUE` otherwise.

> 注: This function cannot be used with unbuffered result handles.

See also sqlite_next(), sqlite_current() and sqlite_rewind().

前一頁 | 內容 | 下一頁
sqlite_rewind | 上一層 | sqlite_single_query