Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show text field as hyperlink

Status
Not open for further replies.

Richey

Technical User
Aug 29, 2000
121
GB
I have a text field in the Database 'WWW' - entries such as - how do I get it to show as a hyperlink in the example below instead of just text?
Thanks
Peter

<tr>
<td width=&quot;91&quot; align=&quot;left&quot;><em><font size=&quot;2&quot;> <td width=&quot;372&quot;><strong><font size=&quot;2&quot;><%=rs(&quot; </tr>
 
cheers cbokowoski
its kind of working now with the below but there is still one problem. The asp page this is saved on is called details.asp - the coomplete URL is - when I 'click here' it launches, for example
???

<tr>
<td width=&quot;91&quot; align=&quot;left&quot;><em><font size=&quot;2&quot;> <td width=&quot;372&quot;><strong><font size=&quot;2&quot;><% response.write &quot;<a href='&quot; & rs(&quot; & &quot;'>Click here</a>&quot; %></font></strong></td>
</tr>
 
You need to change:
&quot;<a href='&quot; & rs(&quot; & &quot;'>Click here</a>&quot;
to
&quot;<a href=' & rs(&quot; & &quot;'>Click here</a>&quot;

An anchor tag without the http:// assumes the root of the page the link is on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top