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.

----- Original Message -----
From: "Evansville Scene" <[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 :)


PHP General Mailing List (
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