sqlite_prev

SQLiteResult::prev

Seek to the previous row number of a result set

Description

bool sqlite_prev ( resource $result )

Object oriented style (method):

bool SQLiteResult::prev ( void )

sqlite_prev seeks back the result handle to the previous row.

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 on success, or FALSE if there are no more previous rows.

See Also

  • sqlite_has_prev
  • sqlite_rewind
  • sqlite_next