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

search for in the

sqlite_last_insert_rowid> <sqlite_key
[edit] Last updated: Fri, 17 May 2013

view this page in

sqlite_last_error

SQLiteDatabase->lastError

(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)

sqlite_last_error -- SQLiteDatabase->lastErrorVeritabanındaki son hatanın kodunu döndürür

Açıklama

int sqlite_last_error ( resource $db )

Nesne yönelimli kullanım

int lastError ( void )

db üzerinde uygulanan son işlemde oluşan hatanın numarasını döndürür. Bir hata oluşmamışsa 0 döner. Hatanın iletisini sqlite_error_string() işleviyle alabilirsiniz.

Değiştirgeler

db

SQLite Veritabanı özkaynağı. Yordamsal kullanımda sqlite_open() işlevi tarafından döndürülür. Nesne yönelimli kullanımda bu değiştirgeye gerek yoktur.

Dönen Değerler

Oluşmuş bir hata yoksa 0, varsa hatanın numarasını döndürür.

Ayrıca Bakınız



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

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