Re: Novice PHP Variable/Link Question

From: Date: Thu, 16 Sep 2004 22:01:31 +0000
Subject: Re: Novice PHP Variable/Link Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-196924@lists.php.net to get a copy of this message
On Thu, 16 Sep 2004 14:54:34 -0700, revDAVE <coolcat@hostalive.com> wrote: > How can I use a PHP variable as the destination for a link? > > <? $mylink = 'thispage.htm' > > <a href="thispage.htm">go here</a> > > With var...? How do I write this....? > > <a href="??? $mylink ???">go here</a> <a href="<?php echo $url;?>"><?php echo $url;?></a> -- Greg Donald http://gdconsultants.com/ http://destiney.com/

« previous php.general (#196924) next »