Function from string
Posted: Tue Aug 05, 2008 2:10 am
hi
is there any way that i can convert a php statement into a function call
example:
i want this to be treated as a call to function
level1($tag,$position)
i've tried to use eval but i didn't work
is there any way that i can convert a php statement into a function call
example:
Code: Select all
"level".$_GET['level'].($tag,$position);
level1($tag,$position)
i've tried to use eval but i didn't work