I just want to know if this is possible: I'd like to store ColdFusion code in a database. I have a page that pulls data from the database, and I would like it to process the code just as it would on a normal .cfm file.
TableName.FieldName = "<cfset a = 1><cfoutput>#a#</cfoutput>"
If I pull this from the database and output it on the page, it should display "1". Instead it displays #a#. The weird thing is, it doesn't display the "<cfset a = 1>" or the beginning and ending cfoutput tags, so it looks like it is actually processing that part of the ColdFusion code. But it won't evaluate the #a# as a variable.
Any ideas if this is possible?