sqlite_last_error Returns the error code of the last error for a database Description intsqlite_last_error resourcedb Returns the error code from the last operation performed on db, the database handle. See also sqlite_error_string.