convert database description string to html code in PHP
<p>I am creating a laravel web application for a client which allows them to store information into a database.</p>

<p>So i am using a WYSIWYG editor to allow the users to enter data with bullet points, bold text and underlines ect...</p>

<p>Now when i save the description to my database it looks like this.</p>

<pre><code>test test&amp;lt;div&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;b&amp;gt;egergererh&amp;lt;i&amp;gt;this is a bullet&amp;lt;/i&amp;gt;&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;hello&amp;lt;/i&amp;gt;egerg&amp;lt;/u&amp;gt;ewg&amp;lt;/b&amp;gt;ewg&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;wegwe&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;ewg&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&amp;lt;/div&amp;gt;
</code></pre>

<p>So when the user previews the page with the description i want it to show with the html marked up. But instead I find a string of html that looks like this on my page.(not the real thing for an example)</p>

<pre><code>test test &lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
</code></pre>

<p>How do i retrieve the description from the database and present it to the page as html?</p>

<p>i have tried </p>

<pre><code>htmlspecialchars_decode()
</code></pre>

<p>but this doesnt do anything. </p>