I'm stuck... can't remember how to make this work. The code:
<cfquery name = "getsomething>
select a, b, c
from d
where id = '1'
</cfquery>
<cfloop collection="#arguments#" item="argument">
<cfif #StructFind(arguments, argument)# neq #getsomething.argument[0]#><!--- here's the problem --->
do something
</cfif>
</cfloop>
The query returns one record; I need to get the values of each column for that record. The column name is a variable (argument). What syntax do I need to replace
#getsomething.argument[0]#
? Thanks.