Posted by Janwillem Borleffs on 04/28/07 21:38
Jon Slaughter wrote: > Is there any command that essentially executes the code and then > echo's it? For this specific case you could use eval: $code = "?><body>blah<?php echo 'Hello'; ?></body>"; eval($code); Note that the closing tag at the beginning of the eval string is mandatory. JW
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming