/** * Returns number os rows of the query. * This function is for simple of name * @return integer */ public function count($type = 'row') { if ($type == 'row') { return sasql_num_rows($this->result); } return sasql_num_fields($this->connection); }
/** * Returns number os rows of the query. * This function is for simple of name * @return integer */ public function count($type = 'row') { if ($type == 'row') { return $this->__result->rowCount(); } return sasql_num_fields($this->__connection); }
/** * Number of fields in the result set * * @access public * @return integer */ function num_fields() { return @sasql_num_fields($this->result_id); }