ecabrera Posted February 20, 2012 Share Posted February 20, 2012 how would i get this to work if they have click on the add page and the action is add i want it to do something how would i do it <?php if(isset($_GET['action'])){ } ?> <a href="pages.php?action=add">Add Page</a> Quote Link to comment https://forums.phpfreaks.com/topic/257394-_get/ Share on other sites More sharing options...
WatsonN Posted February 20, 2012 Share Posted February 20, 2012 <?php if($_GET['action'] == "add"{ /*Do stuff*/ } ?> Quote Link to comment https://forums.phpfreaks.com/topic/257394-_get/#findComment-1319277 Share on other sites More sharing options...
ecabrera Posted February 20, 2012 Author Share Posted February 20, 2012 thanks Quote Link to comment https://forums.phpfreaks.com/topic/257394-_get/#findComment-1319292 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.