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

search for in the

SQLite3::lastErrorCode> <SQLite3::escapeString
[edit] Last updated: Fri, 23 Mar 2012

view this page in

SQLite3::exec

(PHP 5 >= 5.3.0)

SQLite3::execSonuç döndürmeyen bir SQL sorgusu çalıştırır

Açıklama

public bool SQLite3::exec ( string $sorgu )

Sonuç döndürmeyen bir SQL sorgusu çalıştırır.

Değiştirgeler

sorgu

Sonuç döndürmeyen CREATE, INSERT, UPDATE, DELETE gibi bir sorgu.

Dönen Değerler

İstek başarıyla yerine getirilirse TRUE yoksa FALSE döner.

Örnekler

Örnek 1 - SQLite3::exec() örneği

<?php
$db 
= new SQLite3('mysqlitedb.db');

$db->exec('CREATE TABLE bar (bar STRING)');
?>



add a note add a note User Contributed Notes SQLite3::exec
moodsey211 at gmail dot com 16-Dec-2010 08:29
If you get the error message saying "SQLite3::exec. database locked." You just need to define a busyTimeout to work around this.

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