Is it possible to do an Evaluate(mytext) AND a PreserveSingleQuotes(mytext) at the same time? I know with ASP I could just nest them like PreserveSingleQuote(Evaluate(mytext)), but it doesn't seem to work in CFML.
preservesinglequotes has to be used only in sql statements
so i guess you can first <cfset a_variable=evaluate("#your_text#"> and then do a cfquery, in which you have :
select ... from ... where anything=(#preservesinglequotes(a_variable)#)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.