irm-1.6-b3/MDB/Common.php
/**
     * Execute the specified query, fetch the values from the first
     * row of the result set into an array and then frees
     * the result set.
     *
     * @param string $query the SELECT query statement to be executed.
     * @param array $types optional array argument that specifies a list of
     *       expected datatypes of the result set columns, so that the eventual
     *       conversions may be performed. The default list of datatypes is
     *       empty, meaning that no conversion is performed.
     * @param int $fetchmode how the array data should be indexed
     * @return mixed data array on success, a MDB error on failure
     * @access public
     */
Execute the specified query, fetch the values from the first
row of the result set into an array and then frees
the result set.

@param string $query the SELECT query statement to be executed.
@param array $types optional array argument that specifies a list of
expected datatypes of the result set columns, so that the eventual
conversions may be performed. The default list of datatypes is
empty, meaning that no conversion is performed.
@param int $fetchmode how the array data should be indexed
@return mixed data array on success, a MDB error on failure
@access public
Execute the specified query fetch the values from the first row of the result set into an array and then frees the result set . @param string $query the SELECT query statement to be executed . @param array $types optional array argument that specifies a list of expected datatypes of the result set columns so that the eventual conversions may be performed . The default list of datatypes is empty meaning that no conversion is performed . @param int $fetchmode how the array data should be indexed @return mixed data array on success a MDB error on failure @access public
function queryRow($query, $types = NULL, $fetchmode = MDB_FETCHMODE_DEFAULT)
    {
        $result = $this->query($query, $types);
        if (MDB::isError($result)) {
            return($result);
        }
        return($this->fetchRow($result, $fetchmode));
    }
function queryRow ( $ query , $ types = NULL , $ fetchmode = MDB_FETCHMODE_DEFAULT ) { $ result = $ this -> query ( $ query , $ types ) ; if ( MDB :: isError ( $ result ) ) { return ( $ result ) ; } return ( $ this -> fetchRow ( $ result , $ fetchmode ) ) ; }
Execute the specified query, fetch the values from the first
 row of the result set into an array and then frees
 the result set.
Execute the specified query fetch the values from the first row of the result set into an array and then frees the result set .