MDB_Common::queryCol() (Previous) (Next) MDB_Common::queryRow()

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

MDB_Common::queryOne()

MDB_Common::queryOne() -- 最初の行の最初のカラムを取得する

説明

クエリから返されたデータの最初の行の最初のカラムの値を取得します。 この関数はクエリの実行を行い、終了時に結果を開放します。

パラメータ

string $query

SQL クエリあるいはプリペアドステートメント。

string $type

指定した場合は、結果セットのカラムの型が取得したものに設定されます。

返り値

mixed - 返された値、あるいは失敗した場合に MDB_Error を返します。

注意

この関数は、スタティックにコールする ことはできません。

MDB_Common::queryCol() (Previous) (Next) MDB_Common::queryRow()

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.