Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: Executing coldfusion code contained in an SQL record.

$
0
0

Thanks Aegis !

 

I think it is the best way to execute queries result. and it's working !

I advice developpers to add the evaluation expression if they are assigning database content to a variable. Otherwise coldfusion will only execute the code but won't evaluate variables.

 

i.e

 

<cfset myContent = "">

<cfloop query = "myQuery">

<cfset myContent = myContent & #evaluate( de( '#content_fre#' ) )# & " ">

</cfloop>

 

Thanks again ..


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>