MDB_Common::queryAll() (Previous) (Next) MDB_Common::queryOne()

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

MDB_Common::queryCol()

MDB_Common::queryCol() -- Fetch a single column

Leírás

Fetch a single column from a result set of a query. The function takes care of doing the query and freeing the results when finished.

Paraméterek

string $query

the SQL query

string $type

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

array $params

if supplied, prepareQuery()/ executeQuery() will be used with this array as execute parameters

array $param_types

if supplied, the values in $param will automatically set to the passed datatypes

mixed $colnum

which column to return (integer [column number, starting at 0] or string [column name])

Visszatérési érték

array - the first row of results as an array indexed from 0 or a MDB_Error, if fail

Megjegyzés

Ez a függvény nem hívható statikusan.

MDB_Common::queryAll() (Previous) (Next) MDB_Common::queryOne()

Download Documentation Last updated: Sun, 01 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.