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 > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
