Skip to main content
Known Participant
Nov 14, 2009 5:48 AM UTC
Question

Parsing Error: Unexpected $ at the end of PHP file

I have been programming in PHP for about 6 months now and this is a first for me.

I have created a FTP upload PHP file and I keep getting this parsing error no matter what I do !?

Parse error:  parse error, unexpected $ in ................................./html/upload_video.php on line 183

The only thing I have on line 183 is ?>  The end of my PHP file.  I've spent 2 hours trying to get rid of this problem.

HELP !    Any help would be greatly appreciated !

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

DwFAQ
Participating Frequently
Nov 14, 2009 6:31 AM UTC

If I were a mind reader I wouldn't have to say post your code so that others can see what the problem may be.

Translate
Known Participant
Nov 14, 2009 6:51 AM UTC

You are right and very sarcastic at the same time.  My bad....however, I figured out the problem, I did not close out my mysql connection and I had an extra if "}" at the end of my code.

Translate