Actually my third was supposed to be <CFSET var123 = 'Click here to download your free coupon. <a href="http://www.site.com">http://www.site.com</a>'>
But I'm not sure how it's different from all the others... What makes it more valid then the other suggestions? Russ > -----Original Message----- > From: Sandra Clark [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 26, 2006 11:26 AM > To: CF-Talk > Subject: RE: cfset hyperlink > > Your third or fourth suggestions are the best in terms of generating valid > HTML > > > Sandra Clark > ============================== > http://www.shayna.com > Training in Cascading Style Sheets and Accessibility > > > -----Original Message----- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 26, 2006 11:22 AM > To: CF-Talk > Subject: RE: cfset hyperlink > > Use single quotes for one of them... or escape the " quote. > > <CFSET var123 = "Click here to download your free coupon. <a > href=""http://www.site.com"">http://www.site.com</a>"> > > Or > > <CFSET var123 = "Click here to download your free coupon. <a > href='http://www.site.com'>http://www.site.com</a>"> > > Or > > <CFSET var123 = 'Click here to download your free coupon. <a > href='http://www.site.com'>http://www.site.com</a>'> > > Or > > <cfsavecontent variable="var123"> > Click here to download your free coupon. <a > href="http://www.site.com">http://www.site.com</a> > </cfsavecontent> > > Russ > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 26, 2006 11:17 AM > > 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:254232 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

