title: php form converting < sign to &lt;
body: <p>I am using a form to post data to mysql.
  Whenever i am writing &lt; it gos to database in '&amp;lt ;' form. i want to send it to database as &lt;.
  Start of form is as:-</p>
  
  <pre><code>&lt;form action="submit.php" method="post" enctype="multipart/form-data" accept-charset="utf-8" name="SEdit"&gt; `
  </code></pre>
  
  <p>and type fields are treated as </p>
  
  <pre><code>&lt;?
  if($field_type=="input")
  {
  ?&gt;
      &lt;input name="&lt;? echo $spec_id;?&gt;" type="text" class="form-control" value="&lt;? echo $spec_value;?&gt;" /&gt;
  &lt;?
  }
  else    
  {
  ?&gt;
      &lt;textarea name="&lt;? echo $spec_id;?&gt;" type="text" class="form-control"&gt;&lt;? echo $spec_value;?&gt;&lt;/textarea&gt;                                 
  &lt;?
  }
  ?&gt;
  </code></pre>
  
  <p>What i have to do now?</p>