Function name inside a variable
- by John Doe
Hello. I have a simple question (i guess).
I'm getting the name of the function inside a variable from database. After that, i want to run the specific function. How can i echo the function's name inside the php file?
The code is something like this:
$variable= get_specific_option;
//execute function
$variable_somesuffix();
The "somesuffix" will be a simple text. I tried all the things i had in mind but nothing worked.