thanks, i already tried what you said but:
in the source(in my browser) of my test.cfm page i can see it:
<td valign="top" width="609" class="txtn">
<!-- Debut partie Droite --><br><br>
<blockquote>
#evaluate("<cfset t=2><cfoutput>t</cfoutput>")#
</blockquote>
</td>
when i call my page, i do a request in the database where i find the value
of tmp: tmp="<cfset....." and when i call tmp, it's not interpreted by
coldfusion as a variable but only as a string
-----Message d'origine-----
De : George Kaytor [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 23 avril 2001 17:10
� : CF-Community
Objet : Re: execute CF in a CF variable
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