|
Posted by Rik Wasmus on 11/19/07 18:01
On Mon, 19 Nov 2007 06:44:14 +0100, Jim Michaels
<jmichae3REMOVE@THISPLEASEyahoo.com> wrote:
> I have a 638 line glob of PHP code & HTML that won't run.
> I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php
> on line 594".
> I wrote a brace checker that checks perens, square brackets, and curly
> braces for mismatches & opens and it checks out perfect. so I don't
> know what it is about the curly brace error. it's false.
> anybody have a clue as to what the real error might be? the code looks
> pristine to me.
An unexpected '}' doesn't mean that curly brace should not be there. For
me, most of the time I get this it means the previous expression wasn't
finished (missing ')' or ';'). If you'd have posted you code leading up to
the offending brace at line 594 maybe we could spot it...
--
Rik Wasmus
[Back to original message]
|