我被卡住了......不记得如何使这项工作。编码:
<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>
查询返回一条记录;我需要获取该记录每列的值。列名是一个变量(参数)。我需要替换什么语法
#getsomething.argument[0]#
? 谢谢。