Re: Is there a way to get rid of \' and \" ?
| From: | Brad Pauly | Date: | Sat, 21 Jun 2003 22:14:50 +0000 |
| Subject: | Re: Is there a way to get rid of \' and \" ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152411@lists.php.net to get a copy of this message | ||
On Sat, 2003-06-21 at 16:00, Dan Anderson wrote:
> I have a form which feeds into an e-mail. When I use the mail function
> all 's turn into \'s and all "s turn into \"s. I tried
> set_magic_quotes_runtime(0) and it didn't do anything, neither did
> urldecode(). Is there a function to strip escape charechters?
I think you want stripslashes().
http://us4.php.net/manual/en/function.stripslashes.php
Brad