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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP and mailto: 1

Status
Not open for further replies.

edgarv

MIS
Jul 25, 2003
248
US
hello,

is there a way to enter a variable to the Mailto in html

for example
<a href="mailto:<% Response.Write "<td clas=Item>"& objRs ("Requested_by") &"</td>" %></a>

I have no idea if this is correct or even close of being correct

 
You have the right idea but the wrong order:
<td clas=Item>
<a href="mailto:<% Response.Write objRs("Requested_by")%>">Click to send mail</a>
</td>

The way you had it before was putting a <td></td> inside the anchor tag.
 
Thank you Shece, I was just about to answer my own question I tried it that way also and it worked.

Thank you for all your great help Sheco
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top