<cfif FindMatches.gender eq 'male'><CFSET newgender = 'He'><cfelse><CFSET 
newgender = 'She'></cfif>

<cfset client.KissMyDate_DisplayMessage = 'Unfortunately this user has decided 
not to receive anymore responses to this advert.' & newgender & ' may change 
this in the near future however.'>

-----Original Message-----
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: 25 May 2005 16:03
To: CF-Talk
Subject: CFSET construct


Hi guys,

I�m trying to put together a CFSET construct but am having probs:

<cfset client.KissMyDate_DisplayMessage = 'Unfortunately this user has decided 
not to receive anymore responses to this advert.' & <cfif FindMatches.gender eq 
'male'>'He'<cfelse>'She'</cfif> & 'may change this in the near future however.'>

Could somebody please point out what I am doing wrong, is it not okay to have 
ampersands in constructs?

Thanks,

Saturday






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to