title: How can I prevent \ from being added from the form input?
body: <p>The html form accepts textarea input, and I am using $_POST value to put the input value to textarea when I am displaying it. 
  For example.</p>
  
  <pre><code>&lt;html&gt;
  &lt;?php if($_POST['input'){
  &lt;form method="post" action="&lt;?=$PHP_SELF?&gt;"&gt;
  &lt;textarea name="input" cols="60" rows="20"&gt;&lt;?=$_POST['input']?&gt;&lt;/textarea&gt;
  &lt;input type="submit" value="Test it"&gt;
  &lt;/form&gt;
  &lt;?php
  } else {
  ?&gt;
  Please copy in a text of your choice
  &lt;br /&gt;&lt;br /&gt;
  &lt;form method="post" action="&lt;?=$PHP_SELF?&gt;"&gt;
  &lt;textarea name="input" cols="60" rows="20"&gt;&lt;/textarea&gt;
  &lt;input type="submit" value="Test it"&gt;
  &lt;/form&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Everything works fine except that backslash '\' is added to every single quote, and double quotes. 
  How can I set some setting to prevent backslash from being added?</p>