*solved* Displaying hyperlinks in a CDOSYS mail script (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


lovduv -> *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




Spooky -> 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>"




lovduv -> RE: Displaying hyperlinks in a CDOSYS mail script (11/16/2005 22:39:22)

Beautiful thank you!
[:D]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875