PHP: Calling a Function Dynamically

Start PHP Code RESULT
hello

End PHP Code RESULT

 

The PHP Code START
<?php
function sayHello() {
    print "hello<br />"
}

$function_holder = "sayHello";
$function_holder();
?>
The PHP Code END

Back to Bill's PHP