SQLite3
PHP Manual

SQLite3::exec

(No version information available, might be only in CVS)

SQLite3::exec ? Executes a result-less query against a given database

説明

public bool SQLite3::exec ( string $query )

Executes a result-less query against a given database.

パラメータ

query

The SQL query to execute (typically an INSERT, UPDATE, or DELETE query).

返り値

Returns TRUE if the query succeeded, FALSE on failure.

例1 SQLite3::exec() example

<?php
/* ... */
?>

上の例の出力は、たとえば 以下のようになります。

...


SQLite3
PHP Manual