title: send HTML Code in Textarea to PHP via Form
body: <p>i want to have a textarea where I can edit html code directly. After submitting the form the content if the textarea (with html tags) should be saved to a MySQL database. I use PHP to receive the date and save it to the database. My problem is, that the HTML code is not properly sent to PHP. I do not receive the HTML code but just the text. How could I fix this?</p>
  
  <p>my Form looks like this:</p>
  
  <pre><code>&lt;form method="post" enctype="multipart/form-data" action="form.php"&gt;
     &lt;textarea name="html_code"&gt;
        &lt;a href="link"&gt;testlink&lt;/a&gt;
     &lt;/textarea&gt;
     &lt;input type=submit value="submit"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The form.php should now be able to show the content of the textarea</p>
  
  <pre><code>echo $_POST['html_code'];
  </code></pre>
  
  <p>shows: <code>testlink</code></p>
  
  <p>I want: <code>&lt;a href="link"&gt;testlink&lt;/a&gt;</code></p>