Re: Escaping special characters in sql
| From: | Bob Bell | Date: | Thu, 11 Jul 2002 18:01:34 +0000 |
| Subject: | Re: Escaping special characters in sql | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1857@lists.php.net to get a copy of this message | ||
On Thu, Jul 11, 2002 at 11:51:26AM -0500, William Lovaton <walovaton@yahoo.com.mx> wrote:
> Ok... I upgraded the DB package to version 1.3 and still there is no
> method called quote() in DB class as documentation says.
Are you using DB::quote() or $db->quote()? I found that I had to do
the later (via trial and error). It makes sense if different databases
use different methods to quote strings, but not otherwise.
--
Bob Bell <bobbell@zk3.dec.com>
-------------------------------------------------------------------------
"The box said "Requires Windows 95 or better." I can't understand
why it won't work on my Linux computer."
-- Humorix (http://i-want-a-website.com/about-linux/)