You are here: RE: [PHP] syntax error, unexpected T_STRING « PHP « IT news, forums, messages
RE: [PHP] syntax error, unexpected T_STRING

Posted by Jim Moseby on 07/18/05 22:27

> 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

 

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

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