Page 1 of 1
weird error: unexpected $ on line... ( last line )
Posted: Wed Aug 16, 2006 11:13 pm
by pedrotuga
does anybody knows what might be causing this?
Code: Select all
Parse error: parse error, unexpected $ in /var/www/mostra_grupos.php on line 205
line 205 is my last line and it simply has:
Posted: Wed Aug 16, 2006 11:19 pm
by Stoker
$ means end of file... missing } or ) perhaps

Posted: Wed Aug 16, 2006 11:28 pm
by pedrotuga
Stoker wrote:$ means end of file... missing } or ) perhaps

yes, thank you!
it was a missing }
my editor ( notepad2 ) has a little bug... sometimes it get confused with the brackets highlight... i had writen good code, but the editor higlighted one bracket as unopen... i trusted it...
well.. in the army they say: "the hardware is allways right"... well.... not allways ( though in this case was the software ) lol