MDB_Common::getCol() (Previous) (Next) MDB_Common::getRow()

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

MDB_Common::getOne()

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

Descripción

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.

Parámetro

string $query

the SQL query or the statement to prepare

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

Valor devuelto

mixed - the returned value or a MDB_Error, if fail

Nota

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

MDB_Common::getCol() (Previous) (Next) MDB_Common::getRow()

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.