sqlite_last_errorSQLiteDatabase-lastError

Example

 int sqlite_last_error ( resource $dbhandle ) 

Description

Object oriented style (method): int SQLiteDatabase::lastError ( void )
Returns the error code from the last operation performed on dbhandle (the database handle), or 0 when no error occurred. A human readable description of the error code can be retrieved using sqlite_error_string().

Return Values

Returns an error code, or 0 if no error occurred.