unexpected $ in /folder/document.php on line 10

Quick PHP tip. If you ever get a error message line like this one, don’t even bother looking for that ‘$’.

Parse error: parse error, unexpected $ in /folder/document.php on line 10

What you are probably missing is a closing curly braquet (‘}’) somewhere. I can’t say that I have tested it extensively, but I did confirm this curious error with several postings I found in PHP-related lists and forums.

July 28, 2003

Posted by: Oscar Trelles

Category: Uncategorized

Tags:

Comments

No Comments

Leave a reply

Name *

Mail *

Website