PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Fetch the first column of the first row of data returned from a query. Takes care of doing the query and freeing the results when finished.
Parameter
$query - the SQL query or the statement to prepare
$params - if supplied, prepare/execute will be used with this array as execute parameters
Returns
mixed - the returned value or a DB_Error when fail
Zurück | Zum Anfang | Nach vorne |
DB::limitQuery() | Nach oben | DB::getRow() |