<cfset hyperlink = "<a href
='index.cfm?Fuseaction=Home.DisplayContent&ContentID=#ContentID#'>#LinkName#
</a>">

Is that what your looking for?



-----Original Message-----
From: Terry Hogan [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 10:01 PM
To: CF-Talk
Subject: Problem setting dynamic links in variables


I'm trying to set a variable that will be passed to a form field

something like:
<cfset hyperlink = "<a
""href=index.cfm?Fuseaction=Home.DisplayContent&ContentID=" & #ContentID# &
"">" & #LinkName# & "</a>">

I've tried escaping the quotes in various ways double quotes, single quotes,
etc.  The real choker seems to be the "> needed between #contentID# and
#LinkName#.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to