title: save html-formatted text to database
body: <p>I want to save html-formatted text to database, but when I do that it is don't save html-symbols like &lt; / > ' and others
  This is how I read article from database for editing:</p>
  
  <pre><code>&lt;p class="Title"&gt;Англійський варіант:&lt;/p&gt;
      &lt;textarea name="EN" cols="90" rows="20" value="&lt;?php echo htmlentities($articleArr['EN'], ENT_QUOTES, "UTF-8"); ?&gt;" &gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>after this generates such html-code:</p>
  
  <pre><code>&lt;p class="Title"&gt;Англійський варіант:&lt;/p&gt;
      &lt;textarea name="EN" cols="90" rows="20" value="&amp;lt;p class=&amp;#039;Title&amp;#039;&amp;gt; привыт &amp;lt;/p&amp;gt;" &gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>So, I expect that this text will appear in my text field, in html-code of this page it is, but in text area is no.</p>
  
  <p>In database I save it as:</p>
  
  <pre><code>&lt;p class="Title"&gt; Hello &lt;/p&gt;
  </code></pre>
  
  <p>So how can I do the follow:</p>
  
  <ol>
  <li>Read from database
  html-formattedtext.</li>
  <li>Show it in textarea element.</li>
  <li>Edit and save it back to database.</li>
  </ol>
  
  <p>Help me please, how can I save such texts properly, Thanx!</p>