DB_Result::fetchRow()

DB_Result::fetchRow() -- fetch a row

Synopsis

require_once 'DB.php';

mixed fetchRow ([integer $fetchmode = DB_DEFAULT_MODE [, integer $rownum = NULL]])

Description

Fetch and return a row of a result set. See the "Fetch" section for further information.

Parameter

integer $fetchmode

format of fetched row

integer $rownum

the row number to fetch

Return value

mixed - an array or NULL, if no more rows

Note

This function can not be called statically

See

DB_Result::fetchInto()