Is it possible to put PHP code in eval ?
Or just vars ?

<?php

$string = 'The result of <?php $a=2; $b=3; $c=$a+$b; echo "$a + $b is $c"; 
?>';

eval ($string);

?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to