Drezard Posted December 11, 2006 Share Posted December 11, 2006 Hello, Ive got this error: [QUOTE]Parse error: parse error, unexpected ';' in C:\Program Files\xampp\htdocs\test\classes.php on line 29[/QUOTE]I dont get it. Cause on line 29 is a function with a ';' at the end and the line above it is an IF statement. Heres line 27 - 31:[CODE]if (!isset($_SESSION['userinfo'] { $this->user_login_box(); }[/CODE]Whats wrong with this?- Cheers, Daniel Link to comment https://forums.phpfreaks.com/topic/30199-unexpected-parse-error-solved/ Share on other sites More sharing options...
btherl Posted December 11, 2006 Share Posted December 11, 2006 You're missing [code=php:0]))[/code] after the "if" condition. Link to comment https://forums.phpfreaks.com/topic/30199-unexpected-parse-error-solved/#findComment-138831 Share on other sites More sharing options...
Drezard Posted December 11, 2006 Author Share Posted December 11, 2006 I cant believe i missed that. Thanks, Daniel Link to comment https://forums.phpfreaks.com/topic/30199-unexpected-parse-error-solved/#findComment-138881 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.