downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

sqlite_last_error> <sqlite_has_prev
[edit] Last updated: Fri, 24 Jun 2011

view this page in

sqlite_key

SQLiteResult->key

(PHP 5 >= 5.1.0)

sqlite_key -- SQLiteResult->keyReturns the current row index

Description

int sqlite_key ( resource $result )

Object oriented style (method):

int SQLiteResult::key ( void )

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

Version Description
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.

See Also



add a note add a note User Contributed Notes sqlite_key - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites