Re: Escaping special characters in sql
| From: | William Lovaton | Date: | Thu, 11 Jul 2002 16:51:26 +0000 |
| Subject: | Re: Escaping special characters in sql | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1855@lists.php.net to get a copy of this message | ||
El jue, 11-07-2002 a las 08:50, Jonas Koch Bentzen escribió:
> William Lovaton skrev:
> >
> > I have a method quote() and quoteString() in DB_common class.
> >
> > Is there a mistake in the documentation? or is my version of PEAR too
> > old??
>
> Try upgrading the DB package by downloading it at
> http://pear.php.net/package-info.php?pacid=46 or running
> "pear install DB".
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Ok... I upgraded the DB package to version 1.3 and still there is no
method called quote() in DB class as documentation says.
I still have some problems saving special characters in both mysql and
oracle.
How can I save a string like "O'Connor" correctly into the database??
William.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com