madspof Posted September 30, 2007 Share Posted September 30, 2007 I am having a parse error on the if statment line can anyone see why ? if ((!$gamertag) || (!$name) || (!$pass) || (!$email)) { echo "You didn't submit the following required information:<br><br>"; if(!$gamertag) { echo "Please enter a username<br>"; } if (!$name) { echo "Please enter a password<br>"; } if (!$pass) { echo "Please enter a name<br>"; } if (!$email) { echo "Please enter a address<br>"; } exit(); } Link to comment https://forums.phpfreaks.com/topic/71279-solved-parse-error/ Share on other sites More sharing options...
magnetica Posted September 30, 2007 Share Posted September 30, 2007 whats the error? Link to comment https://forums.phpfreaks.com/topic/71279-solved-parse-error/#findComment-358568 Share on other sites More sharing options...
madspof Posted September 30, 2007 Author Share Posted September 30, 2007 Parse error: parse error, unexpected T_IF in C:\Deskfun\Halo 3 clan\register.php on line 431 Link to comment https://forums.phpfreaks.com/topic/71279-solved-parse-error/#findComment-358569 Share on other sites More sharing options...
xylex Posted September 30, 2007 Share Posted September 30, 2007 Chances are a missing ";" in the previous line. Link to comment https://forums.phpfreaks.com/topic/71279-solved-parse-error/#findComment-358570 Share on other sites More sharing options...
madspof Posted September 30, 2007 Author Share Posted September 30, 2007 thnk ye that was it lol hw did i miss data got me for a gd half an hour lol any thnks Link to comment https://forums.phpfreaks.com/topic/71279-solved-parse-error/#findComment-358572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.