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
Last updated: Fri, 13 Nov 2009

view this page in

SQLite3::exec

(PHP 5 >= 5.3.0)

SQLite3::exec指定したデータベースに、結果を返さないクエリを実行する

説明

public bool SQLite3::exec ( string $query )

指定したデータベースに、結果を返さないクエリを実行します。

パラメータ

query

実行したい SQL クエリ (通常は INSERT、UPDATE あるいは DELETE クエリ)。

返り値

クエリが成功した場合に TRUE、失敗した場合に FALSE を返します。

例1 SQLite3::exec() の例

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

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



add a note add a note User Contributed Notes
SQLite3::exec
There are no user contributed notes for this page.

SQLite3::lastErrorCode> <SQLite3::escapeString
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites