How to output functions that are stored in mysql database? When I try it the output looks like this:
<-- function();-->
What have you stored in your table:
function names? or complete functions?
if function names you can do:
$functionname()
if you have complete functions you probably could eval() it.
Please be very very careful with eval().
Why do you store functions in your mysql table? It just looks weird to me.
And perhaps there is a better solution.
Use the eval() function.
It evaluates a string as PHP code