Re: PHP and Special Characters
| From: | Adam Williams | Date: | Wed, 11 Sep 2002 18:35:31 +0000 |
| Subject: | Re: PHP and Special Characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116018@lists.php.net to get a copy of this message | ||
use stripslashes() or turn on magic quotes in php.ini
On Wed, 11 Sep 2002, Rick King wrote:
> Apache: 1.3.23
> PHP: 4.1.2
>
> Hello PHP Guru's!
>
> I have created a simple web form. When the form is complete and submitted,
> the results are emailed to an email account. But I have noticed that the '
> character is escaped.
> Example: John O\ 'Connor, instead of getting John O'Connor.
>
> Is this a problem within PHP or HTML?
> Has anyone else encountered this problem before? If so, what was the
> workaround?
>
> Any help would be greatly appreciated!
>
> Rick
>
>
>
>