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> 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*/ } ?> 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 Link to comment https://forums.phpfreaks.com/topic/257394-_get/#findComment-1319292 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.