irm-1.6-b3/MDB/pgsql.php
/**
     * Count the number of columns returned by the DBMS in a query result.
     *
     * @param resource $result result identifier
     * @return mixed integer value with the number of columns, a MDB error
     *      on failure
     * @access public
     */
Count the number of columns returned by the DBMS in a query result.
@param resource $result result identifier
@return mixed integer value with the number of columns, a MDB error
on failure
@access public
Count the number of columns returned by the DBMS in a query result . @param resource $result result identifier @return mixed integer value with the number of columns a MDB error on failure @access public
function numCols($result)
    {
        $result_value = intval($result);
        if (!isset($this->highest_fetched_row[$result_value])) {
            return($this->raiseError(MDB_ERROR, NULL, NULL, 'numCols: specified an nonexistant result set'));
        }
        return(pg_numfields($result));
    }
function numCols ( $ result ) { $ result_value = intval ( $ result ) ; if ( ! isset ( $ this -> highest_fetched_row [ $ result_value ] ) ) { return ( $ this -> raiseError ( MDB_ERROR , NULL , NULL , 'numCols: specified an nonexistant result set' ) ) ; } return ( pg_numfields ( $ result ) ) ; }
Count the number of columns returned by the DBMS in a query result.
Count the number of columns returned by the DBMS in a query result .