JavaScript Editor Javascript debugger     Website design 

sqlite_valid

Returns whether more rows are available (PHP 5)
bool sqlite_valid ( resource result )

Object oriented style (method):

SQLiteResult {
  bool valid();
}
SQLiteUnbuffered {
  bool valid();
}

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

Parameters

result

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

Note:

This function cannot be used with unbuffered result handles.

Return Values

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