RE: [PHP] Escaping nasty quotes
| From: | Roy W | Date: | Thu, 31 Jul 2003 18:54:32 +0000 |
| Subject: | RE: [PHP] Escaping nasty quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157789@lists.php.net to get a copy of this message | ||
Thanks, Chris. But I kept what I had and then just added:
$query = addslashes($query);
Doesn't return an error.. But doesn't complete the task.
:-(
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: Thursday, July 31, 2003 12:39 PM
To: Roy W; php-general@lists.php.net
Subject: Re: [PHP] Escaping nasty quotes
--- Roy W <php@wiegmann.net> wrote:
> The query doesn't take ... but if I cut and paste the printed response
> into the mysql server manually ... works like a charm
http://www.php.net/addslashes
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/