protected function _escape($str)
	{
		if (is_array($str))
		{
			error_log('Param passed to _escape($str) was an array: ' . print_r($str, true));
			$str = '';
		}

		return $this->_conn->real_escape_string($str);
	}
protected function _escape($str)
	{
		if (is_array($str))
		{
			error_log('Param passed to _escape($str) was an array: ' . print_r($str, true));
			$str = '';
		}

		return $this->_conn->real_escape_string($str);
	}
protected function _escape ( $ str ) { if ( is_array ( $ str ) ) { error_log ( 'Param passed to _escape($str) was an array: ' . print_r ( $ str , true ) ) ; $ str = '' ; } return $ this -> _conn -> real_escape_string ( $ str ) ; }
Escape a string for the database

@param string $str
@return string
Escape a string for the database