Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Input text issues
February 27, 2006, 10:27 pm
rate this thread
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!