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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to