irm-1.6-b3/MDB/mssql.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 = intval($result);
        $rows = @mssql_num_rows($result);
        if (isset($this->limits[$result_value])) {
            $rows -= $this->limits[$result_value][0];
            if ($rows < 0) $rows = 0;
        }
        return($rows);
    }
function numRows ( $ result ) { $ result_value = intval ( $ result ) ; $ rows = @ mssql_num_rows ( $ result ) ; if ( isset ( $ this -> limits [ $ result_value ] ) ) { $ rows -= $ this -> limits [ $ result_value ] [ 0 ] ; if ( $ rows < 0 ) $ rows = 0 ; } 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