SQLite3
PHP Manual

SQLite3::query

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

SQLite3::query ? Executes an SQL query

説明

public SQLite3_result SQLite3::query ( string $query )

Executes an SQL query, returning an SQLite3_result object if the query returns results.

パラメータ

query

The SQL query to execute.

返り値

Returns an SQLite3_result object if the query returns results. Otherwise, returns TRUE if the query succeeded, FALSE on failure.

例1 SQLite3::query() example

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

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

...


SQLite3
PHP Manual