views:

123

answers:

1
body = "<HTML>" & _
 "<HEAD></HEAD>" & _
 "<BODY>" & _
 " <Font Face=Arial Size=5><B>" & _
 "  This is a test Email" & cEmail & _
 " </B></Font><BR>" & _
 " <H3><A Href=http://www.website.com&gt;Click here</a>" & _
 " to go to website.com</h3>" & _
 "</BODY>" & _
 "</HTML>"

this a ASP variable with html text it works well i just want to know how would i be able to implement the img src="" tag on there using a variable so something like this img src="http:www" & website &".com" any ideas? thanks

+1  A: 

If I understand your question you're asking how to concatenate in ASP classic. Assumming the variable:

Website = "example"

You concatenate by doing:

body = "<a href=""http://www." & Website & """><img src=""http://www." & Website & """ /></a>"
Chris Haas
Thanks this was the answer to my problem!
Silent