(PHP 5)
sqlite_valid -- SQLiteResult->valid -- SQLiteUnbuffered->valid — Returns whether more rows are available
Object oriented style (method):
bool SQLiteResult::valid ( void ) bool SQLiteUnbuffered::valid ( void )Finds whether more rows are available from the given result handle.
The SQLite result resource. This parameter is not required when using the object-oriented method.
Note:
此函数不能用于未缓冲的结果句柄。
Returns TRUE if there are more rows available from the result handle, or FALSE otherwise.