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

search for in the

SQLite3Stmt::bindValue> <SQLite3Stmt
Last updated: Fri, 13 Nov 2009

view this page in

SQLite3Stmt::bindParam

(PHP 5 >= 5.3.0)

SQLite3Stmt::bindParamパラメータを変数にバインドする

説明

public bool SQLite3Stmt::bindParam ( string $sql_param , mixed &$param [, int $type ] )

パラメータを変数にバインドします。

パラメータ

sql_param

パラメータをどの変数にバインドするかを表す文字列。

param

変数にバインドするパラメータ。

type

バインドするパラメータのデータ型。

  • SQLITE3_INTEGER: 符号付き整数。 値の大きさに応じて 1, 2, 3, 4, 6, あるいは 8 バイトで格納されます。

  • SQLITE3_FLOAT: 浮動小数点数値。 8 バイトの IEEE 浮動小数点数値として格納されます。

  • SQLITE3_TEXT: テキスト文字列。 データベースのエンコーディング (UTF-8, UTF-16BE あるいは UTF-16-LE) を用いて格納されます。

  • SQLITE3_BLOB: blob データ。 入力がそのままの形式で格納されます。

  • SQLITE3_NULL: NULL 値。

返り値

パラメータを変数にバインドした場合に TRUE、 失敗した場合に FALSE を返します。



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

SQLite3Stmt::bindValue> <SQLite3Stmt
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites