Posted by iulian.ilea on 09/23/06 20:38
Hi,
I have to eval a string stored in a variable, but it's not working.
code:
___
function ee($s)
{
return $s;
}
$v="e(\"name\")";
eval("$stri=$v;");
echo $stri;
___
By using eval I want to eval $v and get the result returned by ee
stored in $stri. How woul you do?
Navigation:
[Reply to this message]
|