ted_chou12 Posted January 1, 2007 Share Posted January 1, 2007 what does this mean:Parse error: syntax error, unexpected $end in /www/... on line 202... is the path to my file.I dont understand how should I correct it, can anyone help me?Thanks Link to comment https://forums.phpfreaks.com/topic/32446-parse-error-syntax-error-unexpected-end/ Share on other sites More sharing options...
onlyican Posted January 1, 2007 Share Posted January 1, 2007 it means your missing a closing } somewhere Link to comment https://forums.phpfreaks.com/topic/32446-parse-error-syntax-error-unexpected-end/#findComment-150762 Share on other sites More sharing options...
ted_chou12 Posted January 1, 2007 Author Share Posted January 1, 2007 thanks, yeah thats the syntax. Link to comment https://forums.phpfreaks.com/topic/32446-parse-error-syntax-error-unexpected-end/#findComment-150763 Share on other sites More sharing options...
onlyican Posted January 1, 2007 Share Posted January 1, 2007 if you have problems finding the code, this is what I do when I come across thisIf you have dreamweaver 8, it is very simplestart at the middle of your code,Each IF block, While loop, anything with a {}Highlight the area, and collapse the block of code (click on the left little - sign)If you dont have DreamweaverBring everything back to be left alignedStart in the middleEach If Block, WHile loop ect, anything with {}Highlight the block of code, and tab out one indent (can be done using notepad, by highlighting the block, and pressing tab button Link to comment https://forums.phpfreaks.com/topic/32446-parse-error-syntax-error-unexpected-end/#findComment-150765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.