SunQuest
           ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 1st, 2003, 07:08 PM
HotRodDrew HotRodDrew is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 4 HotRodDrew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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>"

Reply With Quote
  #2  
Old April 3rd, 2003, 02:31 PM
defjamninja defjamninja is offline
Overly white
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Fresno, CA
Posts: 83 defjamninja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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?

Reply With Quote
  #3  
Old April 3rd, 2003, 09:54 PM
yassoor's Avatar
yassoor yassoor is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Canada - Egypt
Posts: 60 yassoor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Dynamic Hyperlink w/ URl Variable


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway