MDB_Common::getAssoc() (Previous) (Next) MDB_Common::getOne()

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

MDB_Common::getCol()

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

Descripción

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.

Parámetro

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])

Valor devuelto

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

Nota

Esta función no puede ser llamada estáticamente.

MDB_Common::getAssoc() (Previous) (Next) MDB_Common::getOne()

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.