Forums
This topic is locked
Returning a db held url for a dynamic link
Posted 25 Sep 2002 15:24:59
1
has voted
25 Sep 2002 15:24:59 Helen Foster-Turner posted:
<font face='Arial'></font id='Arial'>I want to use a database held URL to redirect visitors to linked sites. As I am no handcoding expert I am struggling with this. I can return the value and make it a link but the system precurses the URL with the local url, hence www.mydomain.com becomes localhost/localfile/www.mydomain.com.
Any ideas? What basic trick am I missing here?
T.
--------------------------------------
"Do, or do not, there is no 'try'!"
--------------------------------------
Replies
Replied 25 Sep 2002 16:40:29
25 Sep 2002 16:40:29 Brent Colflesh replied:
Dear Technobirman,
Given that $foo = "www.foo.com"
<a href = "<?echo $foo ?>"><? echo $foo ?></a>
Regards,
Brent
Given that $foo = "www.foo.com"
<a href = "<?echo $foo ?>"><? echo $foo ?></a>
Regards,
Brent