public function numRows($result_object,$which_connection='')
    {
        if (!is_object($result_object)) {
            return false;
        }

        if ($which_connection == '') {
            $which_connection = $this->default_db;
        }

        return $result_object->RecordCount();
    }
public function numRows($result_object,$which_connection='')
    {
        if (!is_object($result_object)) {
            return false;
        }

        if ($which_connection == '') {
            $which_connection = $this->default_db;
        }

        return $result_object->RecordCount();
    }
public function numRows ( $ result_object , $ which_connection = '' ) { if ( ! is_object ( $ result_object ) ) { return false ; } if ( $ which_connection == '' ) { $ which_connection = $ this -> default_db ; } return $ result_object -> RecordCount ( ) ; }
Get number of rows in a result set
@param $result_object A result set
@param $which_connection see method close()
@return Integer number or False if there's an error
Get number of rows in a result set