N-Bomb(Nerd) Posted April 6, 2009 Share Posted April 6, 2009 How would I call a function based off the users input? Like the user is selecting what function he wants to execute. I figured I would use function_exists() to see if the function exists before actually trying to call it, but I'm unsure how to actually call a function using "$_GET['RunFunc'])", or if it's even possible for that. As always I appreciate any input, thanks. Link to comment https://forums.phpfreaks.com/topic/152714-solved-calling-function/ Share on other sites More sharing options...
ToonMariner Posted April 6, 2009 Share Posted April 6, 2009 http://uk2.php.net/manual/en/functions.variable-functions.php Link to comment https://forums.phpfreaks.com/topic/152714-solved-calling-function/#findComment-801939 Share on other sites More sharing options...
N-Bomb(Nerd) Posted April 6, 2009 Author Share Posted April 6, 2009 http://uk2.php.net/manual/en/functions.variable-functions.php Yup, I feel stupid now... Thanks Link to comment https://forums.phpfreaks.com/topic/152714-solved-calling-function/#findComment-801941 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.