markvaughn2006 Posted September 19, 2009 Share Posted September 19, 2009 Can anyone tell me why this isn't working?? if ( $_POST["attackee"] == $_SESSION[myusername] ) I'm trying to compare to see if the variable in $_POST is the same as the variable stored in the $_SESSION... Quote Link to comment Share on other sites More sharing options...
ozestretch Posted September 19, 2009 Share Posted September 19, 2009 if ( $_POST['attackee'] == $_SESSION['myusername'] ) Quote Link to comment Share on other sites More sharing options...
markvaughn2006 Posted September 19, 2009 Author Share Posted September 19, 2009 thanks, i got it, it was something stupid, wasn't checking the session on that php....sorry 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.