By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,319 Members | 2,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,319 IT Pros & Developers. It's quick & easy.

Parse error: syntax error, unexpected T_VARIABLE, expecting T_CATCH

P: n/a
I am having an error that reads

"Parse error: syntax error, unexpected T_VARIABLE, expecting T_CATCH in /home/a1736809/public_html/Movies/index2.php on line 79"
the code that is in question is:
$list_data->save($dataFile);

How would I fix this?
Oct 19 '10 #1
Share this Question
Share on Google+
1 Reply


dlite922
Expert 100+
P: 1,584
Give us the surrounding code. Especially the code starting from a few lines before this.

The problem was "encountered" there, it doesn't mean the problem is there. It looks like you forgot a CATCH statement.


Dan
Oct 19 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.