"Bruce A. Black" <bruceablkida.net> wrote in message
news:3f2603af_2newsfeed...
>
> I have a couple php mail forms that people write text into. If a person
> uses an apostrophe (haven't) it comes to the recipient as haven/'t (or
> maybe it is \). Anyway, does anyone know a trick to get the message to
> come without the escape slash? The script send the mail in html format.
Use stripslashes() on your text field before submitting.
[url]http://www.php.net/manual/en/function.stripslashes.php[/url]

If you care about portability, do an if/else test for get_magic_quotes_gpc()
first.
[url]http://www.php.net/manual/en/function.get-magic-quotes-gpc.php[/url]