Shadowing Posted December 10, 2011 Share Posted December 10, 2011 I cant figure out what is wrong with this hopefully someone can help me out would appreciate it if($_POST['resendemail']) != $send1['mail'] { echo "This email doesnt exist."; Parse error: syntax error, unexpected T_IS_NOT_EQUAL in C:\Software\XAMPP\xampp\htdocs\stargate\login.php on line 78 if I delete the ! then it says something is wrong with = am I missing something? if I do this it stops the error but doesnt look right to me if($_POST['resendemail'] != $send1['mail']) { Link to comment https://forums.phpfreaks.com/topic/252891-syntax-issue/ Share on other sites More sharing options...
Pikachu2000 Posted December 10, 2011 Share Posted December 10, 2011 Look at the parentheses. Link to comment https://forums.phpfreaks.com/topic/252891-syntax-issue/#findComment-1296570 Share on other sites More sharing options...
xyph Posted December 10, 2011 Share Posted December 10, 2011 if I do this it stops the error but doesnt look right to me if($_POST['resendemail'] != $send1['mail']) { It's right. Perhaps some code-goggles will help with that vision problem? Link to comment https://forums.phpfreaks.com/topic/252891-syntax-issue/#findComment-1296594 Share on other sites More sharing options...
Shadowing Posted December 10, 2011 Author Share Posted December 10, 2011 lol thanks guys. I got it all working. Link to comment https://forums.phpfreaks.com/topic/252891-syntax-issue/#findComment-1296600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.