Re: Re: PHP in HTML code

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

 



On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman <rene7705@xxxxxxxxx> wrote:
> hmm.. seems easier to me to push a filetree of .php's with <?= through
> the str_replace(), than it is to get all the <?= writers to comply
> with your wishes, which may not apply to their situation ;-)
>
> On Wed, Mar 17, 2010 at 5:14 PM, tedd <tedd.sperling@xxxxxxxxx> wrote:
>> At 8:55 PM -0400 3/16/10, Adam Richardson wrote:
>>>
>>> That said, I'm not taking exception with those who don't use the short
>>> tag, only with those who say I shouldn't.
>>
>> Exception or not, it's still your choice and using short tags can cause
>> problems.
>>
>> My view, why create problems when there is a solution? Forcing the issue is
>> a bit like "I'm going to do it my way regardless!" I've traveled that path
>> too many times in my life. Sometimes it's easier to take the path most
>> traveled.
>>
>> Cheers,
>>
>> ted
>> --
>> -------
>> http://sperling.com  http://ancientstones.com  http://earthstones.com
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

http://www.php.net/manual/en/language.basic-syntax.phpmode.php

"There are four different pairs of opening and closing tags which can
be used in PHP. Two of those, <?php ?> and <script language="php">
</script>, are always available. The other two are short tags and ASP
style tags, and can be turned on and off from the php.ini
configuration file. As such, while some people find short tags and ASP
style tags convenient, they are less portable, and generally not
recommended. "

-- 
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