public function next(){

		if(next($this->_fetched) instanceof SQLResultRow){

			return current($this->_fetched);
		}
		else{

			try{

				$mySQLResultRow = new MySQLResultRow($this->_result);
			}
			catch(SQLResultRowException $e){

				return false;
			}

			// Clear fetch buffer in case of an unbuffered result-set

			if(!$this->_buffered){

				$this->_fetched = [];
			}

			$this->_fetched[] = $mySQLResultRow;

			return $mySQLResultRow;
		}
	}
public function next(){

		if(next($this->_fetched) instanceof SQLResultRow){

			return current($this->_fetched);
		}
		else{

			try{

				$mySQLResultRow = new MySQLResultRow($this->_result);
			}
			catch(SQLResultRowException $e){

				return false;
			}

			// Clear fetch buffer in case of an unbuffered result-set

			if(!$this->_buffered){

				$this->_fetched = [];
			}

			$this->_fetched[] = $mySQLResultRow;

			return $mySQLResultRow;
		}
	}
public function next ( ) { if ( next ( $ this -> _fetched ) instanceof SQLResultRow ) { return current ( $ this -> _fetched ) ; } else { try { $ mySQLResultRow = new MySQLResultRow ( $ this -> _result ) ; } catch ( SQLResultRowException $ e ) { return false ; } // Clear fetch buffer in case of an unbuffered result-set if ( ! $ this -> _buffered ) { $ this -> _fetched = [ ] ; } $ this -> _fetched [ ] = $ mySQLResultRow ; return $ mySQLResultRow ; } }
Read next result-row from the result-set.

@return SQLResultRow|false
Read next result - row from the result - set .