You are here: Re: <%variable%> in html template ?? « PHP Programming Language « IT news, forums, messages
Re: <%variable%> in html template ??

Posted by Chung Leong on 05/17/06 18:33

Kimmo Laine wrote:
> "Alan Little" <alan@n-o-s-p-a-m-phorm.com> wrote in message
> news:Xns97C5DA4F5127alanphormcom@216.196.97.131...
> > Carved in mystic runes upon the very living rock, the last words of Chung
> > Leong of comp.lang.php make plain:
> >> asp_tags is probably turned off in php.ini. That's the default I
> >> believe.
> >
> > Heck, I thought ASP tag support had been discontinued. What was the
> > reason for it in the first place?
>
> Propably the same reason php supports this crazy asp-shit like
> while ($itsRainingMen):
> hallelujah();
> endwhile;
>
> and
>
> if($itsRainingMen):
> hallelujah();
> elseif:
> amen();
> endif;
>
> Perhaps it's there to help asp-coders get acustomed to the language,
> dunno... A newbie-coder friend of mine showed a piece of code where he'd
> used those and sure they work, but it's just ugly as hell like any
> asp-syntax is.

Many PHP'ers, myself included, use the alternated syntax for bracketing
HTML, where
<? endwhile; ?> is more visible than <? } ?> and <? else: ?> looks
cleaner than <? } else { ?>.

 

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

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