navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

*solved* Displaying hyperlinks in a CDOSYS mail script

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> *solved* Displaying hyperlinks in a CDOSYS mail script
Page: [1]
 
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
*solved* Displaying hyperlinks in a CDOSYS mail script - 11/16/2005 21:21:31   
I am having a problem diplaying a link in an CDOSYS e-mail script.

This is what I am using now:

<a href= """&Session("x_Website")&""">"&Session("x_Website")&"</a>

I think my problem is this:
The x_Website field value is a page on the site. For example: anyuser.asp is a value inside the database, in the x_Website data column, and that page (anyuser.asp) is on my site. So the value does not contain the entire web address needed to make a working link.

I need something like:

<a href= "http://www.missyandross.com/""&Session("x_Website")&""">"Blog"</a>

Where "Blog" would be the link you click on in the e-mail, and "www.missyandross.com/" would make the value, for x_Website, a working link.
In the e-mail it would look like this:
Blog
and clicking on it would take you to: http://www.missyandross.com/anyuser.asp

Is that doable?
lovduv

< Message edited by lovduv -- 11/16/2005 22:40:31 >
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Displaying hyperlinks in a CDOSYS mail script - 11/16/2005 22:11:10   
Assuming the variables are active, it would be something like so ::

body = "<a href=""http://www.missyandross.com/"&Session("x_Website")&""">Blog </a>"

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to lovduv)
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
RE: Displaying hyperlinks in a CDOSYS mail script - 11/16/2005 22:39:22   
Beautiful thank you!
:)

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> *solved* Displaying hyperlinks in a CDOSYS mail script
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts