RE: syntax error, unexpected T_STRING

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Thanks JM!
> It was another one of my usual mistakes :P
> Forgot the semicolon. I don't underestand why you have to put 
> in so many 
> semicolons... Hmm.. Is it a thing from C or something?

When I see that T_STRING error, missing semicolon is the first thing I look
for.  I don't know the history of the semicolon, but I imagine the need for
them is rooted in the necessity for PHP to know where a line of code ends
and the next one starts.  Just a guess.  ;o)

JM

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux