I have a field in a database which contains the value :
<p><!--? echo get_block(\'contact\');?-->&lt;?php echo get_block(&#39;home-page&#39;); ?&gt;</p>
When I am fetching the record in the front end, it just shows the output as a string:
echo $var = html_entity_decode(stripslashes($row_content_list["content"]));
Output
"<?php echo get_block('home-page');?>"
I want it to act as a PHP script.