I have some values in my database which a column named description contains HTML CODE ex. (<p> </p><div class="col-xs-8">..).
I get the database rows and try to show it in the page, all the columns displays normal (as it is plain text) BUT when I echo the variable that contains description value it doesn't turn the code into "page", it only shows the code.
Where is the problem? Shouldn't it consider as code as well and add it to the page?
CODE:
<div class="info">
<div class="info-space" style="width: 800px;"></div>
<?php
echo $pro_desc;
?>
</div>
</div>
var_dump($pro_desc);?"<p> </p><div class="col-xs-8">...string '<p>&nbsp;</p><div class="col-xs-8"...length(25000)