How to Fix a “unexpected $end” Error

Sometimes you will get an error similar to this in PHP:

Parse error: syntax error, unexpected $end in /index.php on line 36

This is most likely caused by a forgotten closing curly bracket (“}”).

[ad name=”In Post (LU)”]

If you have a PHP code similar to this you will definitely get the above error:


		

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.