sqlite_last_errorSQLiteDatabase-lastError

 int sqlite_last_error ( resource $dbhandle ) 

説明

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().

戻り値

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