Input text issues
- From: Pol <Pol@xxxxxxxxxx>
- Date: Mon, 27 Feb 2006 17:27:11 -0500
Whenever I receive input from an HTML text field or and HTML text area with " or ' meaning double or singe quotes into a php variable and then print or echo it back out to the user in html I get these characters accompanies by a \ . Why is this and how can I get rid of it.
$submitform->body=@$_POST['body']; <<<< there are no \ in the input.
print("body - ".$submitform->body."<br>"); <<<< but here there will be slashes for all ' or " .
Thanks for any help!
.
- Follow-Ups:
- Re: Input text issues
- From: Mitul
- Re: Input text issues
- From: Carl
- Re: Input text issues
- From: Nancy
- Re: Input text issues
- Prev by Date: Re: Cheap Hosting for PHP 5?
- Next by Date: Re: Input text issues
- Previous by thread: Podwójne queries - MySQL
- Next by thread: Re: Input text issues
- Index(es):
Relevant Pages
|