Re: parse error
| From: | Paul Novitski | Date: | Mon, 10 Jul 2006 15:49:43 +0000 |
| Subject: | Re: parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239262@lists.php.net to get a copy of this message | ||
At 08:11 AM 7/10/2006, Schalk wrote:
I am getting the following error:* Parse error*: parse error, unexpected $ in */home/httpd/vhosts/demo.bdiverse.com/httpdocs/accessible/processlogin.php* on line *69 In my code the last line i.e. ?> is marked as line 69I don't see anything wrong with the code you posted, so I'd look earlier in your script or in your included scripts. Generally speaking when the parser complains at the final ?> tag it means a missing close-bracket } at the end of a code block or a heredoc expression that isn't closed properly. If you're using heredocs, remember that the closing expression must end in a semicolon and neither the the opening expression nor the closing may have trailing spaces or tabs. Good luck, Paul