Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 28th, 2004, 12:26 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Making an email address link

Although this seems like a fairly simple thing to do (as I thought) I seem to be racking my brain trying to get this to work. I set up a database and one of the fields of information the end user must fill out is their email address.

When you view the person's full profile, I would like to output the email address, which is retrieved from the database, as a link. I keep getting VB errors such as Expected ')' or Expected end and I can't seem to figure out the problem...I've when over it and over it again and my syntax seems to be fine.

Below is a snippit of what I have so far, any help is greatly appreciated, I have meeting in a half hour and would really like to get this working!

Response.Write"<tr>"
        Response.Write"<td width='100' valign='top'>"
Response.Write"<b>Email: </b>"
        Response.Write"</td>"
        Response.Write"<td width='600' valign='top'>"
        Response.Write ""
        Response.Write "<a href mailto="rst ("Email")">rst ("Email")</a>"
        Response.Write ""
        Response.Write"</td>"
Response.Write"</tr>"

 
Old July 28th, 2004, 01:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Response.Write "<a href=mailto:" & rst("Email") & ">" & rst("Email") & "</a>"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a link to documents in ADO/ASP gene4455 BOOK: Beginning ASP 3.0 3 November 12th, 2008 01:57 PM
Where is OWA Address link? vic02 SharePoint Admin 0 May 2nd, 2008 07:11 AM
Making a next and previous link using testing Aaron_j XSLT 0 July 28th, 2005 04:19 AM
Problem in making database file address virtual akhilvira ASP.NET 1.0 and 1.1 Basics 0 January 4th, 2005 01:33 AM
making a link bold knalle HTML Code Clinic 5 November 12th, 2004 11:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.