franknu Posted June 1, 2007 Share Posted June 1, 2007 well that is an easy one but i total forgot to do this and maybe i can get some help look online and i could find it Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/ Share on other sites More sharing options...
kernelgpf Posted June 1, 2007 Share Posted June 1, 2007 <?php $website=$websiteURL; print "<a href='$website'>link title here</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266490 Share on other sites More sharing options...
franknu Posted June 1, 2007 Author Share Posted June 1, 2007 i know that u have to do some http: thing in there how does that work Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266505 Share on other sites More sharing options...
per1os Posted June 1, 2007 Share Posted June 1, 2007 <?php $website=$websiteURL; print "<a href='http://$website'>link title here</a>"; ?> or <?php $website="http://" . $websiteURL; print "<a href='$website'>link title here</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266507 Share on other sites More sharing options...
franknu Posted June 1, 2007 Author Share Posted June 1, 2007 this is what i did <? echo "<a href='$website'> $Website </a>"; ?> and here is my display on the source code td><a href=''> oxfordstgrill.com/index.html </a></td> Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266586 Share on other sites More sharing options...
penguin0 Posted June 2, 2007 Share Posted June 2, 2007 did you declare $website correctly? Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266589 Share on other sites More sharing options...
marksie1988 Posted June 2, 2007 Share Posted June 2, 2007 try this this is what i use for my links <a href="<?php echo $website; ?>>text you want to display</a> Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266590 Share on other sites More sharing options...
dj-kenpo Posted June 2, 2007 Share Posted June 2, 2007 what you want it to say is this: <a href="http://oxfordstgrill.com/index.html">click here</a> <? $website_link = "'http://oxfordstgrill.com/index.html"; print "<a href=<\"$website_link\">click here</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/53901-how-u-make-this-a-link/#findComment-266595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.