Forum und email

sqlite_valid

SQLiteResult->valid

SQLiteUnbuffered->valid

(No version information available, might be only in CVS)

SQLiteUnbuffered->valid — Returns whether more rows are available

說明

bool sqlite_valid ( resource $result )

Object oriented style (method):

SQLiteResult
bool valid ( void )
SQLiteUnbuffered
bool valid ( void )

Finds whether more rows are available from the given result handle.

參數

result

The SQLite result resource. This parameter is not required when using the object-oriented method.

Note: 本函式不能用於未緩衝的結果句柄(result handle)。

Return值

Returns TRUE if there are more rows available from the result handle, or FALSE otherwise.