I believe the only way to execute code like that, from a database, would be to write the file using cffile as a *.cfm file, and then include the template. This can work okay. Bear in mind, that with CFMX this does not work as well since the page needs to be compiled and it will take longer.
Brook At 08:19 AM 11/7/02 +0000, you wrote: >use evaluate? > >-----Original Message----- >From: Russ [mailto:russ@;unrealisticexpectations.com] >Sent: 07 November 2002 07:55 >To: CF-Talk >Subject: Referencing a variable in a database > > >All, > >I've got an oddity that I'm not certain how to overcome. > >I have an extranet system that I use a database to store content for >pages--most specifically to store locations of a client's files. > >However, when I add code of ><cfoutput>#qClients.clientDirectory#</cfoutput>/image1.jpg to the >database, it doesn't display correctly--it instead shows the code. > >Because of that, I can't imagine that HTMLCodeFormat would work--tested >it, it doesn't, unless I'm not using it correctly. > >As with all things, I'm sure there's a way to do this, but I'm not close >to it at all. > >Does anyone have any thoughts? > >Thanks, > >Russ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

