RE: [PHP] Strange emergence of \
| From: | Jason Murray | Date: | Thu, 02 Nov 2000 01:03:07 +0000 |
| Subject: | RE: [PHP] Strange emergence of \ | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23283@lists.php.net to get a copy of this message | ||
> Is this something to do with textarea? I don't do anything strange to the
> string....ne help appreciated...
You have magic quotes enabled. This is actually a good thing, I assume
you're echoing out the SQL command and wondering why its doing it - the
backslash is there to escape the ' inside '' quotes. If you need to get
rid of it, use strip_slashes, but you'll break your SQL. :)
Jason