Re: DB slashing?
| From: | Chuck Hagenbuch | Date: | Tue, 09 Jan 2001 21:47:18 +0000 |
| Subject: | Re: DB slashing? | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-916@lists.php.net to get a copy of this message | ||
Quoting Kendrick Vargas <ken@hudat.com>:
> I just downloaded the latest php to get a relatively recent version of
> PEAR, and I was wondering... Is there a plan to put any functions in the
> database specific include (DB/mysql.php for ex.) to escape strings
> properly with slashes? I know that there's a mysql_escape_strings function
> (though it doesn't show in the manual) and I don't know if the other
> databases have dedicated escaping functions.
DB::quoteString().
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues