Input text issues



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!
.



Relevant Pages

  • Re: Question about CSS definitions
    ... A class should reflect the meaning of the content which it is applied ... I change the template which is used to build the HTML. ... By script. ...
    (alt.html)
  • Re: Formatting Page Layout Without Tables
    ... layout can achieve without drama, the answer really is no, you ... talking about the importance of good semantic html mark up. ... You are conveying a sense that is not needed, a meaning ... In a really good and strict school, you would not be able to go ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Firefox Mac vs PC
    ... understanding is that html is not supposed to be a page layout tool. ... by the browser or styles wired into the browser ... This is pretty obscure in meaning and fact. ... committed to layout by the mere use of HTML. ...
    (comp.sys.mac.apps)
  • Re: question about frameset
    ... Is the following code legal & works in HTML? ... - i mean does the second frame really exists but not shown or ... Martin Jay ...
    (alt.html)
  • Re: WYSIWYG editor for linux?
    ... HTML 4.01 was last updated in 1999, ... is plenty of information out there, and plenty of people willing to ... document (rather then, for instance, reinforcing existing meaning or ... Define "HTML editor". ...
    (alt.html)