like I said.. I want to place PHP code in a function like in the example ... and then have it run correctly.... so in turn the code there once parse would look like this
echo 234;
and in this case the PHP code would print 234 to the screen.. but I know you will say why do that?? well I want to run more complex code from it.. not just echos.
example 2:
function func($code) {
$code;
}
func(" if ($this!=$that) {
$then = 1;
} else {
$then = 0;
}
");