RE: [PHP] basic user/input form questions... more validation!
| From: | Murray @ PlanetThoughtful | Date: | Fri, 23 Sep 2005 00:29:00 +0000 |
| Subject: | RE: [PHP] basic user/input form questions... more validation! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223041@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: bruce [mailto:bedouglas@earthlink.net]
> Sent: Friday, 23 September 2005 10:23 AM
> To: 'Jasper Bryant-Greene'; php-general@lists.php.net
> Subject: RE: [PHP] basic user/input form questions... more validation!
>
> one more question/issue...
>
> the mysql_real_escape function escapes with a'\' which works for mysql,
> but isn't standard ansi... is there another function that does the same
> thing, but uses the ansi standard "'". also, if there is another function,
> does it also work with mysql??
The important thing here is that escaping with a \ is MySQL's standard for
escaping, so should be used when using MySQL as your storage backend.
Much warmth,
Murray
---
"Lost in thought..."
http://www.planetthoughtful.org