You forgot to close a parenthesis, so from the last open parenthesis, PHP considers all the code that follows as part of a specific block (condition, arguments of functions etc) that does not end. You ...
Note: PHP is a simple program that asks for much attention. You should not have any problem with it if you pay enough attention to the logical flow of the program.
Last night when I was moderating some comments on TechPP, I was shocked to see an error page instead of the admin panel dashboard. The error read something like this ...