Hi,
I have a strange issue…im unble to call a function using a variable as the function name for example…
function myfunction(){
echo ‘test’;
}
$function = ‘myfunction’;
$function();
This code works fine on a normal web server but when running in a scriptcase app, it doesnt work.
The error i get is
Fatal error : Uncaught Error: Call to undefined function myfunction()
anyone seen this and know how to get around it?
cheers