/** * Data Seek * * Moves the internal pointer to the desired offset. We call * this internally before fetching results to make sure the * result set starts at zero * * @access private * @return array */ function _data_seek($n = 0) { return sasql_data_seek($this->result_id, $n); }
/** * Fetch results from a row. */ function db_result($qid = false, $row = '', $field = '') { if ($qid === false) { return false; } if (!sasql_data_seek($qid, $res, $row)) { return false; } return sasql_fetch_field($res, $field); }