Posted by SMN on 05/02/05 00:57
Is it possible from a PHP script to interprete a string which contains an embedded PHP-script?. Here is an example: <?php $script='<?php echo("42"); ?>'; echo($script); ?> What I would like is that the code above outputs "42" om the screen and not "<?php echo("42"); ?>". I know that echo dosn't allow this but is there any other function I can use? /smn
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming