RE: [PHP] php and javascript error

From: Date: Tue, 13 Mar 2007 02:48:20 +0000
Subject: RE: [PHP] php and javascript error
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-250383@lists.php.net to get a copy of this message
On Sun, March 11, 2007 9:21 am, tedd wrote: > At 5:28 PM +0100 3/7/07, afan@afan.net wrote: >> > PS: If you want your code to validate, change the & to &amp; Add >> the >>> closing </a> tag too. >>> PPS: It's advisable not to use the short tags, use <?php instead >>> of <? >>in such a cases I usually use <?= $var ?> instead <?php echo $var ?>. >> At >>least it's shorter. :) >> >>-afan > > But, while it's shorter, it's still NOT advisable to use the shorter > tags. I believe short tags is/was/maybe slated for removal completely in PHP 6... That may have been shot down. Or maybe <?= is kept, while the generic <? is going away... I kinda LIKE <?= personally, but not enough to risk using it if I'll have to rewrite a zillion lines of code in a few years. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#250383) next »