You can write the query results out to a cfm, then include the file in your
main template. Not recommended for heavy dynamic traffic though, because of
file locking issues.
-----Original Message-----
From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3: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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists