hi
i have a string variable which holds a php code and would like PHP to execute this code and store the results in an other variable
example:
$var1 contains the following:
<?
echo "yada<br>";
?>
and var2 then should contain:
yada<br>
is there a way to do it. i checked out "eval". but if you use eval("echo \"yada\") then "yada" is printend out in the calling script.