DB::getRow()

DB::getRow() -- Fetch the first row from a query

Description

mixed &getRow (string $query [, integer $fetchmode [, array $params]])

Fetch the first row of data returned from a query. Takes care of doing the query and freeing the results when finished.

Parameter

Returns