Jump to content

[SOLVED] parse error: unexpected $


psychohagis

Recommended Posts

On almost every page of my site that I have had to debug it has said something like

[quote]
[b]Parse error[/b]: parse error, unexpected $ in /home/fhlinux178/b/mysite.org.uk/user/htdocs/members/index.php on line 183[/quote]

The only problem with this is that it points me to the last line of the document (normally with </html> on it).  What causes this?
I'm obviously doing the same thing alot.  On one page I put another [b]}[/b] at the end of a while loop and that fixed it, on another page I had missed a [b];[/b] off the end of an echo statement.

Its a very annoying recurring problem and I am wondering whether anyone could help me
Link to comment
https://forums.phpfreaks.com/topic/32709-solved-parse-error-unexpected/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.