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... Link to comment https://forums.phpfreaks.com/topic/174832-solved-if-_postattackee-_sessionmyusername/ Share on other sites More sharing options...
ozestretch Posted September 19, 2009 Share Posted September 19, 2009 if ( $_POST['attackee'] == $_SESSION['myusername'] ) Link to comment https://forums.phpfreaks.com/topic/174832-solved-if-_postattackee-_sessionmyusername/#findComment-921394 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 Link to comment https://forums.phpfreaks.com/topic/174832-solved-if-_postattackee-_sessionmyusername/#findComment-921397 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.