JavaScript Editor Javascript debugger     Website design 

sqlite_key

Returns the current row index (PHP 5 >= 5.1.0)
int sqlite_key ( resource result )

Object oriented style (method):

SQLiteResult {
  int key();
}

sqlite_key() returns the current row index of the buffered result set result.

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 the current row index of the buffered result set result.

ChangeLog

VersionDescription
5.0.4 Prior to PHP 5.0.4, sqlite_key() was only able to be called as a method on a SQLiteResult object, not procedurally.