Re: Slash problem
| From: | Jim Lucas | Date: | Wed, 19 Dec 2001 22:37:47 +0000 |
| Subject: | Re: Slash problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78260@lists.php.net to get a copy of this message | ||
it is a thingy called magic quotes. setup in the php.ini file. turn it off
and they will go away.
or, if you can't add a stripslashes() to every variable that will passed
this way.
Jim
----- Original Message -----
From: "Evansville Scene" <webmaster@evansvillescene.com>
To: <php-general@lists.php.net>
Sent: Wednesday, December 19, 2001 4:39 PM
Subject: [PHP] Slash problem
I'm fairly new @ PHP, so forgive me if the answer is trivial ...
In many cases, if I take in data from a form and the user uses an
apostrophe, the data that is sent to me has a slash in it. For example:
Jones\' Auto Repair
Is there an easy fix? I'm not sure why this is occurring ...
It\'s been quite a pain :)
Adam