try this:
put a # between the variable1

<cfset variable1 = "stuff">
<cfset variable2 = "#variable1#">

<CFOUTPUT>

#variable2#


----- Original Message -----
From: Kevin Schmidt <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 4:15 AM
Subject: Questio\n


> Dave,
>
> Sorry to bother you but the list is down and I have a project to get done
> asap.  I am stuck.
> I have a variable that contains a string with another variable name.  I
want
> to display the variable not the variable name when I display the first.
>
> IE
>
> <cfset variable1 = "stuff">
> <cfset variable2 = "variable1">
>
> <CFOUTPUT>
>
> #variable2#
>
> I want to see stuff instead of variable1 when I output variable 2.  I have
> been through all the book I have and can't figure this one out.  Is it
> possible.  I though the evaluate function might work but no luck.
> Kevin Schmidt, Web Technology Manager
> Allaire Certified ColdFusion Developer
> pwb inc.
> integrated marketing communications
> 350 S. Main St., Suite 350
> Ann Arbor, MI 48104
> 734.995.5000 (tel)
> 734.995.5002 (fax)
> www.pwb.com
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to