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

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

MDB_Common::queryOne()

MDB_Common::queryOne() -- fetch the first column of the first row

Описание

Fetch the first column of the first row of data returned from a query. The function takes care of doing the query and freeing the results when finished.

Параметр

string $query

the SQL query or the statement to prepare

string $type

if supplied, the type of the cell in the result set will be set for fetching

Возвращаемое значение

mixed - the returned value or a MDB_Error, if fail

Заметка

Эта функция не должна вызываться статически.

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

Download Documentation Last updated: Mon, 02 Jul 2007
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.