Connecting Tech Pros Worldwide Help | Site Map

problem with =

Newbie
 
Join Date: Dec 2006
Posts: 13
#1: Feb 23 '07
hey all,

i have the following bit of code:

<cfset plstcct = ",@PLST_CT = '0'"> which just sets plstcct to ,@PLST_CT = '0'. it's just a string, nothing too fancy, but that's the format it must be in.

the issue i'm coming across is that the = in the middle is being read as the start of a new variable, making '0' that new variable. is there a way to just get this string ,@PLST_CT = '0' to return correctly?

also, i've tried &equiv; to no avail.

thanks,
mr b.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Feb 23 '07

re: problem with =


I've tried your code with no problems. I output using:
Expand|Select|Wrap|Line Numbers
  1. <cfoutput>#plstcct#</cfoutput>
and it output the correct value.
Reply