nathanmaxsonadil Posted August 20, 2007 Share Posted August 20, 2007 I'm getting this error Parse error: syntax error, unexpected '{' in /home/mydir/public_html/myfile.php on line 48 when I run this code if($_SESSION['loggedin'] == true) { if($_SESSION['email'] == base64_decode($_GET['need']) { I can't find any error's in it Link to comment https://forums.phpfreaks.com/topic/65891-solved-parse-error-syntax-error-unexpected/ Share on other sites More sharing options...
marcus Posted August 20, 2007 Share Posted August 20, 2007 if($_SESSION['email'] == base64_decode($_GET['need']) { TO: if($_SESSION['email'] == base64_decode($_GET['need'])) { Never ended the IF statement. Link to comment https://forums.phpfreaks.com/topic/65891-solved-parse-error-syntax-error-unexpected/#findComment-329383 Share on other sites More sharing options...
nathanmaxsonadil Posted August 20, 2007 Author Share Posted August 20, 2007 thanks so much Link to comment https://forums.phpfreaks.com/topic/65891-solved-parse-error-syntax-error-unexpected/#findComment-329386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.