#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    4
    Rep Power
    0

    Dynamic Hyperlink w/ URl Variable


    Alright, im having the hardest time trying to figure this out. Im trying to email this hyperlink which has a url variable named ID. Im sure it's a misplaced quote, but I cannot get it right for some reason. Thanks in advance


    Mailer.BodyText = "Your widgets order has been processed! <BR>" & _
    "<a href=""http://superhost.com/tutor/dev/FacultyApprovalForm.asp?ID=""" & varNewID & ">Click Here to Approve</a>"
  2. #2
  3. No Profile Picture
    Overly white
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Fresno, CA
    Posts
    83
    Rep Power
    12
    Code:
    Mailer.BodyText = "Your widgets order has been processed! <BR>" & _
    "<a href='http://superhost.com/tutor/dev/FacultyApprovalForm.asp?ID=" & varNewID &"'>Click Here to Approve</a>")
    Are single quotes valid HTML? I know they work but are they valid?
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Canada - Egypt
    Posts
    60
    Rep Power
    12
    Are you receiving an error message or the mail gets sent but the link show as text not hyper link?

    if you are getting a runtime error, it would help a lot to get that error

    if the link show as text not hyper link, check the setting of the "mailer" object that you are using. Some of them have a object.Text property that only accepts text no HTML and another property "object.HTMLtext for example" that would accept HTML ... some other products have a variable set "object.isHTML for example" that you set boolean to identify if the text is plain text or HTML
    I hope this is of any help to anyone.

    Yassoor
    http://www.WebsitesCreation.ca

IMN logo majestic logo threadwatch logo seochat tools logo