Only way I could see to do it would be a two step process... the first thing
you'd have to do is create a unique short session ID... read the cf code
from the database and write it to a file name that includes the session ID.
Then the next step would be to do a cflocation to a file that includes the
uniquely created file name as a parameter and then perform an include with
the cf coded file name as the source.
Clifton Reichle
Support Systems Administrator
(i)Structure
11707 Miracle Hills Drive
Omaha, NE 68154
402-431-8214 (w)
[EMAIL PROTECTED]
-----Original Message-----
From: Christian N. Abad [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 15:07
To: CF-Talk
Subject: RE: Parsing a text field from a db...
Yep. No luck there...
Regards,
CNA
-----Original Message-----
From: Olivier Gostan [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 3:24 PM
To: CF-Talk
Subject: Re: Parsing a text field from a db...
have you tryed :
<cfoutput>#Evaluate(myQueryName.article)#</cfoutput>
O-
----- Original Message -----
From: "Christian N. Abad" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 2:56 PM
Subject: Parsing a text field from a db...
> Folks:
>
> Here is today's challenge :
>
> I have a database that stores Library articles (how-to's).
>
> I need to be able to store ColdFusion markup in the database and have it
> parsed once the row is retrieved from the database.
>
> For example, I store the following text in the db:
>
> <img src="#application.imagesRoot#/library/image.gif">
>
> Then, I retrieve this Library item from the db with a query and display
it,
> like this :
>
> <cfoutput>#myQueryName.article#</cfoutput>
>
> PROBLEM : The text that is written to the html file the LITERAL text from
> the database. Instead, I need to have this text parsed and interpreted as
> CFML.
>
> Does this make sense?
>
> Any ideas?!
>
> Thanks!
>
> Christian N. Abad
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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