Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Causes and fixes for “Parse error: syntax error, unexpected $end” PHP error

Share this post!
 Vote this!

After writing some PHP code, I encountered this weird error that displayed this message: “Parse error: syntax error, unexpected $end” on the page and did not execute any other code.

It appears that there are multiple causes for this error, and is a syntax error – that is, missing some code or writing the code differently from how the compiler expects it to be.

Below are the common causes (the problem I had is listed first) and how to fix them:    More...

0 comments:

Post a Comment