Merry Meet Kevin,

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


<cfoutput>#variable1# - #evaluate(variable2)# - #variable2#</cfoutput>

Blessed Be,
--Katrina Chapman
http://www.katrinachapman.com
http://www.cfchick.com


-----Original Message-----
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 8:15 PM
To: CF-Talk
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to