Print Page | Close Window

Email links from database

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=15987
Printed Date: 30 March 2026 at 5:05am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email links from database
Posted By: pjb007
Subject: Email links from database
Date Posted: 26 July 2005 at 1:01pm

I have the followijg use the below code to create links pages


<% Response.Write ("<a href=""" & rsGuestbook ("URL") & """ target=""_blank"">") & rsGuestbook ("URLTitle") & ("</a>") %>
 
by changing URL to EMail and URLTitle to Name how can I convert that code to a mailto: link.
 
 

 
 



Replies:
Posted By: dj air
Date Posted: 26 July 2005 at 1:40pm
<% Response.Write ("<a href=""mailto:" & rsGuestbook ("Email") & """ target=""_blank"">") & rsGuestbook ("Name") & ("</a>") %>


Posted By: ljamal
Date Posted: 26 July 2005 at 1:41pm

<% Response.Write ("<a href=""mailto:" & rsGuestbook ("email") & """ target=""_blank"">") & rsGuestbook ("name") & ("</a>") %>



-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: pjb007
Date Posted: 26 July 2005 at 1:56pm
Thanks will try that,
 

<% Response.Write ("<a href=""mailto:" & rsGuestbook ("Email") & """ target=""_blank"">") & rsGuestbook ("Name") & ("</a>") %>

 
I will remove the target _blank though but how many of the ";s can I delete.



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