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 Quote Link to comment 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 } Quote Link to comment 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 } } Quote Link to comment 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.