Reply to Re: newbie question: <?=$variable?> yields no output

Your name:

Reply:


Posted by Jerry Stuckle on 09/28/07 22:31

Jeremy wrote:
> macca wrote:
>>
>> Why ask a question if you cant handle the answer moron.
>>
>> Taken directly from the php.ini config file:
>>
>>
>
> Hey, no need to be a jerk. I was just pointing out that clashing syntax
> with XML is not a compelling reason (at least for me) to treat short
> tags like they're a register_globals-style abomination. Compiler
> directives in C clash with comments in shell scripts; is that a good
> reason to stop using them?
>
> > ; NOTE: Using short tags should be avoided *when developing
> > applications or
> > ; libraries that are meant for redistribution, or deployment on PHP
> > ; servers which are not under your control*, because short tags may not
> > ; be supported on the target server. For portable, redistributable
> > code,
> > ; be sure not to use short tags.
>
> (emphasis mine)
>
> Correct translation: There are certain circumstances in which you should
> avoid short tags.
>
> Incorrect translation: You should never use short tags, and you should
> go around telling everyone else not to use them.
>
> I don't really feel like arguing about it anymore because I have a
> feeling you're just going to keep name-calling.

PHP is also used to create XML, just like it can be used to create HTML.
And therein lies the problem.

What are you going to do when they take the short tags option away?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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