function ErrorMsg()
	{
		if (!function_exists('adodb_throw')) {
			if ($this->_dbat < 0) {
				$db = false;
			}
			else {
				$db = $this->DB();
			}

			// last error could be database error too
			if ($db && $db->ErrorMsg()) {
				return $db->ErrorMsg();
			}
		}
		return $this->_lasterr;
	}
function ErrorMsg()
	{
		if (!function_exists('adodb_throw')) {
			if ($this->_dbat < 0) {
				$db = false;
			}
			else {
				$db = $this->DB();
			}

			// last error could be database error too
			if ($db && $db->ErrorMsg()) {
				return $db->ErrorMsg();
			}
		}
		return $this->_lasterr;
	}
function ErrorMsg ( ) { if ( ! function_exists ( 'adodb_throw' ) ) { if ( $ this -> _dbat < 0 ) { $ db = false ; } else { $ db = $ this -> DB ( ) ; } // last error could be database error too if ( $ db && $ db -> ErrorMsg ( ) ) { return $ db -> ErrorMsg ( ) ; } } return $ this -> _lasterr ; }
return last error message
return last error message