i'm loading a php page into a div and want to runa function after its been loaded but i can't get the php file to recognise the var as a function.
How can i make the variable into a working function? Is it possible?
thanks in advance! D.
$("#mailingListInfo").load("scripts/php/doPHPFunction.php?func=getMailinglist("+chosenMailinglist+")");
$func=$_GET['func'];
echo $func;
// should run the function and echo the result...