Scripting Questions
1.) In queries with conditionals (if-statements or dynamic variables), how would I implement this in the scripting syntax?
Example:
SELECT *
FROM ExampleTable
WHERE
<cfif arguments.Example eq "Example">
IN(<cfqueryparam value="arguments.myExample" list="yes" />)
<cfelse>
'#arguments.myExample#'
</cfif>
2.) In scripting, what happens if you include templates not in <cfscript> such as HTML or tag based CFML? I tried using include a couple times and it wouldn't work, and I'm assuming the reason is because what I was including was HTML and/or tag based.
