This should work:
<cfquery name="getinfo"....>
select p.text from pages p where id = #id#
</cfquery>
<cfoutput>#Evaluate(DE(getinfo.text))#</cfoutput>
Thanks
Marian Dumitrascu
> -----Original Message-----
> From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 4:38 PM
> To: CF-Talk
> Subject: Dynamic values inside of dynamic text
>
>
> I've got a field in the database that stores information being
> displayed on
> a page which has CF variables in it.
>
> So then I do:
>
> <cfquery name="getinfo"....>
> select p.text from pages p where id = #id#
> </cfquery>
>
> <cfoutput>#getinfo.text#</cfoutput>
>
>
>
> Except, the CF variables inside of the field "text" aren't parsed, they're
> just displayed as #variable#. Even if I wrap them in <cfoutput>'s in the
> info stored in the db.
>
> I hope I'm being clear. I certainly feel like I'm talking in circles.
>
> Any ideas? I suppose I could do a Replace() on the var once I extract it,
> but it doesn't seem like I should have to...
>
> Thanks,
>
> Evan
>
> --
> -=-=-=-=-=-=-=-=-=-
> Evan Lavidor
> Circle.com Boston
> Tel: 617-585-3107
> Fax: 617-585-3091
> -=-=-=-=-=-=-=-=-=-
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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