note 20377 deleted from function.mysql-escape-string by torben
| From: | torben@php.net | Date: | Tue, 02 Apr 2002 02:01:30 +0000 |
| Subject: | note 20377 deleted from function.mysql-escape-string by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28484@lists.php.net to get a copy of this message | ||
Can someone please clear up some problems I'm having? When I use submission from a form, and do
this:
echo $sDescription;
exit;
after
<FORM>
<INPUT TYPE=TEXT NAME="sDescription>
<INPUT TYPE=SUBMIT>
</FORM>
I end up with an already escaped string.
Strings from forms are ALREADY escaped, as soon as they get to my PHP script. Is this a
configuration issue, or a browser issue? Can I rely on this? When I run mysql_escape_string, it does
a second escape, and I end up with \\\' in my text.