A programmer who used to work for me published this tag we used to do 
this...

http://devex.allaire.com/developer/gallery/info.cfm?ID=CA3477AD-2830-11D4
-AA9700508B94F380&method=Full

I think it can do what you want.

Jerry Johnson

>>> [EMAIL PROTECTED] 12/21/01 01:35PM >>>
You would need to write the code from the database to a temporary file and 
then run the template from the temporary file (I guess
you could use CFHTTP for this).  CF (AFAIK) won't process any code unless 
it's in a file.

Regards,

Howie

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 1:31 PM
Subject: Pulling CFcode from a database table


> Hello all,
>
>     I'm pulling a record from the db and that record has cf code in it.
> When I display the record, it doesn't do what I thought it would do.
>
> In the db I have a cfinclude statement.  In the body of my cfm page I
> output the result of that query.  What's happening though is that
> nothing is being displayed, but when I view the source, it shows the
> <cfinclude> statement.  First, can I do this.  I'm not sure when the
> server processes the code but it's not including the statement the way I
> hoped it would.
>
> Any ideas?
>
> Thanks,
>
> Michael Corrigan
> Programmer
> Endora Digital Solutions
> www.endoradigital.com 
> 630/942-5211 x-134
>
> 

______________________________________________________________________
Macromedia ColdFusion 5 Training from the Source
  Step by Step ColdFusion
  http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to