public function escape($string)
    {
        if(!$this->isConnected())
        {
            $this->connect();
            if(!$this->isConnected()) return false;
        }

        return $this->_escape($string);
    }
public function escape($string)
    {
        if(!$this->isConnected())
        {
            $this->connect();
            if(!$this->isConnected()) return false;
        }

        return $this->_escape($string);
    }
public function escape ( $ string ) { if ( ! $ this -> isConnected ( ) ) { $ this -> connect ( ) ; if ( ! $ this -> isConnected ( ) ) return false ; } return $ this -> _escape ( $ string ) ; }
escaping string against sql injection
escaping string against sql injection