irm-1.6-b3/MDB/querysim.php
/**
    * returns the number of rows in a result object
    *
     * @param ressource $result a valid result ressouce pointer
    * @return mixed MDB_Error or the number of rows
    * @access public
    */
returns the number of rows in a result object
@param ressource $result a valid result ressouce pointer
@return mixed MDB_Error or the number of rows
@access public
returns the number of rows in a result object @param ressource $result a valid result ressouce pointer @return mixed MDB_Error or the number of rows @access public
function numRows($result)
    {
        $result_value = $this->_querySimSignature($result);
        if (!isset($this->highest_fetched_row[$result_value])) {
            return $this->raiseError(MDB_ERROR_INVALID, null, null,
                'numRows(): a non-existant result set was specified');
        }
        $rows = @count($result[1]);
        return $rows;
    }
function numRows ( $ result ) { $ result_value = $ this -> _querySimSignature ( $ result ) ; if ( ! isset ( $ this -> highest_fetched_row [ $ result_value ] ) ) { return $ this -> raiseError ( MDB_ERROR_INVALID , null , null , 'numRows(): a non-existant result set was specified' ) ; } $ rows = @ count ( $ result [ 1 ] ) ; return $ rows ; }
returns the number of rows in a result object
 @param ressource $result a valid result ressouce pointer
 @return mixed MDB_Error or the number of rows
 @access public
returns the number of rows in a result object @param ressource $result a valid result ressouce pointer @return mixed MDB_Error or the number of rows @access public