Hi. I'm fairly new to PHP, and still get parse errors frequently. My experience is that if you get a parse error with no description and a line number that actually contains code, you either
a.) left out a semicolon on the line above (or a couple lines above),
b.) have one too many closing parens (braces, etc), or
c.) forgot to escape (using \) a quote in a print (echo) statement.
On the other hand, if the line number is the last line of the script, you opened something (quotes, parens, etc) and didn't close them. Happy hunting!
I tend to disagree with the above (insofar as I've experienced any of these problems)--I think PHP's error-reporting leaves a bit to be desired, although I'm coming from a Perl background and am used to being told stuff like "may be a runaway ' starting on line xx". Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com