Hope someone can understand this.
I can do this no problem
<?
$a="echo 'Hello there'";
eval ($a);
//prints
//prints Hello there
?>
But now I want to do this but it won't work ( I want to be able to use eval within the code I'm eval()'ing
$a="
\$b=\"echo 'Hello again'\";
eval (\$b);
";
eval ($a);
//should print on the screen
//Hello again
No matter what I do I keep getting "parse error undexpected ="
or
parse error unexpected T_STRING
Thanx
D.