MDB_Common::getOne() (Previous) (Next) MDB_Common::getTextValue()

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

MDB_Common::getRow()

MDB_Common::getRow() -- fetch the first row

Descripción

Fetch 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

array $types

if supplied, the types of the columns 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

integer $fetchmode

the fetch mode to use, default is MDB_FETCHMODE_DEFAULT

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::getOne() (Previous) (Next) MDB_Common::getTextValue()

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.