Zephyris Posted July 27, 2010 Share Posted July 27, 2010 I'm having a huge memory blank on whats its called and how you do it, I just restarted php @__@ Basicly I just wana do if index.php has do=login then { do this here } lol, sorry for the stupid question o.o Link to comment https://forums.phpfreaks.com/topic/209049-how-do-you-fetch-for-example-indexphpthishere/ Share on other sites More sharing options...
Pikachu2000 Posted July 27, 2010 Share Posted July 27, 2010 if( $_GET['do'] == 'login' ) { // do this } else { // do something else } Link to comment https://forums.phpfreaks.com/topic/209049-how-do-you-fetch-for-example-indexphpthishere/#findComment-1091882 Share on other sites More sharing options...
trq Posted July 27, 2010 Share Posted July 27, 2010 Make sure its set first. if (isset($_GET['do'])) { if ($_GET['do'] == 'login') { // do login } } Link to comment https://forums.phpfreaks.com/topic/209049-how-do-you-fetch-for-example-indexphpthishere/#findComment-1091883 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.