try : #evaluate("<cfset t=2><cfoutput>t</cfoutput>")#
or
do the cfset t =2 before the cfset tmp = t :
<cfset t = 2>
<cfset tmp = t>
<cfoutput>#tmp#</cfoutput>
-george
>From: Polyno� - Emmanuel Pinard <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Community <[EMAIL PROTECTED]>
>Subject: execute CF in a CF variable
>Date: Mon, 23 Apr 2001 16:39:44 +0200
>
>Hi everyone,
>
>when i call a page test.cfm, i have a variable "tmp" which contains some CF
>code, I obtained the value of tmp through a query in this page
>
>I have tmp = "<cfset t=2><cfoutput>#t#</cfoutput>" which is the value
>stored
>in a table of a database
>
>when i call the page test.cfm , i want to show the value of tmp, i would
>like to see "2" and not "<cfset t=2....."
>
>can someone help me ?
>
>Thanks by advance.
>Emmanuel P.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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