coldclimber Posted December 5, 2006 Share Posted December 5, 2006 Hayi am new here so first of all hi ;Dright down to businessI have a site where i bought a php script no problems works fine and have done some mods to it which work fine.One if the things i wanted though was a field where the photographer can fill in his web site address. this i have done on the register form. i have created a table the mysql database to right the url to all works fine it then rights the url to the page (works fine) BUT and there always is, the url; address is text and not a text link.So how do i make it into a text link back to his site.here is the code that adds the info to the page (not sure if this helps)<b>My Website:</b> <? echo $photog->website;?><br><br>any help to make this an active link would be a great help thanks Link to comment https://forums.phpfreaks.com/topic/29565-makeing-text-a-url/ Share on other sites More sharing options...
Orio Posted December 5, 2006 Share Posted December 5, 2006 As simple as that:<a href="<? echo $photog->website;?>" target="_blank">My Website</a>:)Orio. Link to comment https://forums.phpfreaks.com/topic/29565-makeing-text-a-url/#findComment-135641 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.