require_once 'MDB.php';
mixed &fetchOne (resource $result)
mixed &fetchOne
Fetch the first column of the first row of data returned from a result set and free the result set.
a valid resource returned by query() or executeQuery()
mixed - the returned value or a MDB_Error, if fail
Table 33-1. Possible PEAR_Error values
This function can not be called statically.
query() , limitQuery() , prepareQuery() , executeQuery() , fetchRow() , fetchCol() , fetchCol()