Use single quotes around the variable text instead of double quotes...

<Cfset var123='afdgdfg <a href="http:xyz.com">link</a>'>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 26 September 2006 10:17
To: CF-Talk
Subject: cfset hyperlink

All,

I thought this would be simple, but it's not working.  I want to set a
varaible with a string that contains a hyperlink in it.

<CFSET var123 = "Click here to download your free coupon. <a
href="http://www.site.com";>http://www.site.com</a>">

Thoughts?

D

D



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254339
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to