Re: Novice PHP Variable/Link Question

From: Date: Fri, 17 Sep 2004 18:20:59 +0000
Subject: Re: Novice PHP Variable/Link Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196994@lists.php.net to get a copy of this message
On Friday 17 September 2004 21:49, Gryffyn, Trevor wrote: > Alternately, you can do it the lazy way like me: > > <a href="<?=$url?>"><?=$url?></a> > > <? Echo $url; ?> > > Is the same as... > > <?=$url?> > > > I also think that's a little easier to read. But that's my preference > in style. The use of this syntax is governed by the setting of 'short_open_tag' in php.ini and hence is not portable. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Have you noticed that all you need to grow healthy, vigorous grass is a crack in your sidewalk? */

« previous php.general (#196994) next »