You are here: Re: unexpected } « PHP Programming Language « IT news, forums, messages
Re: unexpected }

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация