SQLite3
PHP Manual

SQLite3::prepare

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

SQLite3::prepare ? Prepares an SQL statement for execution

説明

public SQLite3_stmt SQLite3::prepare ( string $query )

Prepares an SQL statement for execution and returns an SQLite3_stmt object.

パラメータ

query

The SQL query to prepare.

返り値

Returns an SQLite3_stmt object on success or FALSE on failure.

例1 SQLite3::prepare() example

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

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

...


SQLite3
PHP Manual