What I want to do is pull html and PHP code out from a database and then execute it. So for example I may have:
<?php $test = <<<END <p> <?php echo time(); ?> </p> END; echo $test; ?>
What I want is to get $test to print
<p> 12:00PM </p> //right
instead of printing:
<p> <?php echo time(); ?> </p> //wrong
as occurs when I use the echo function.