Print Page | Close Window

Help with tag in ASP code

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=21477
Printed Date: 29 March 2026 at 4:24pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Help with tag in ASP code
Posted By: pjb007
Subject: Help with tag in ASP code
Date Posted: 04 October 2006 at 5:41pm

I am making a links page the details that make this page are all in a database.

When I make the link I make use of fields called
 
url
siteTitle
details
 

Response.Write "<span class='dblink'>" & recordset("url") & recordset("siteTitle") & "</span><br /><span class='dblinkdetails'>" & recordset("details") & "</span> " & recordset("subCat")
 
I am having problems in getting the siteTitle to become clickable I have included some code above which displays the url, siteTitle and details, however I am now stuck what I want to do is have the siteTitle and details on display only with the URL in a href tag so that that the user can click the siteTitle and visit the site.



Replies:
Posted By: dj air
Date Posted: 04 October 2006 at 6:46pm
herre you go

Response.Write "<span class='dblink'><a href=""" & recordset("url") &""">" & recordset("siteTitle") & "</a></span><br /><span class='dblinkdetails'>" & recordset("details") & "</span> " & recordset("subCat") &""



Posted By: pjb007
Date Posted: 04 October 2006 at 6:53pm
Thanks! Smile



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net