irm-1.6-b3/MDB/oci8.php
/**
     * fetch value from a result set
     * 
     * @param resource $result result identifier
     * @param int $rownum number of the row where the data can be found
     * @param int $colnum field number where the data can be found
     * @return mixed string on success, a MDB error on failure
     * @access public 
     */
fetch value from a result set


fetch value from a result set
function fetch($result, $rownum, $colnum)
    {
        $fetchmode = is_numeric($colnum) ? MDB_FETCHMODE_ORDERED : MDB_FETCHMODE_ASSOC;
        $row = $this->fetchInto($result, $fetchmode, $rownum);
        if (MDB::isError($row)) {
            return($row);
        }
        if (!array_key_exists($colnum, $row)) {
            return(NULL);
        }
        return($row[$colnum]);
    }
function fetch ( $ result , $ rownum , $ colnum ) { $ fetchmode = is_numeric ( $ colnum ) ? MDB_FETCHMODE_ORDERED : MDB_FETCHMODE_ASSOC ; $ row = $ this -> fetchInto ( $ result , $ fetchmode , $ rownum ) ; if ( MDB :: isError ( $ row ) ) { return ( $ row ) ; } if ( ! array_key_exists ( $ colnum , $ row ) ) { return ( NULL ) ; } return ( $ row [ $ colnum ] ) ; }
fetch value from a result set
fetch value from a result set