Hi Bruno,

The line number is misleading the error is generally above the line that's reffered to. try commenting out sections of the code. If you have an IDE it will be able to point out the error. If you don't have an IDE some text editor that is capable of syntax highlighting will also help.


Bruno Mattarollo wrote:


Hello,

I am having a strange problem with PHP and I can't really find a proper answer, maybe someone have seen this before and can give me a hint.

I have a series of files (originally developed by another colleague) installed on a server with PHP 4.2.2 and I get this error:

Parse error: parse error, unexpected $ in /var/www/html/donation/installations/gpi/form.inc on line 528

Line 528 is actually the last line on that file, it's an empty line. Tried removing, adding spaces, and the number of lines change, always pointing
/B




--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to