When you use a variable in the list element of the CFLOOP tag, it must be enclosed in #'s...
<cfset myd = "">
<cfloop list="#form.mydata#" index="i" delimiters=",">
<cfoutput>
<cfset myd = "#i#">
#myd#
</cfoutput>
</cfloop>
Otherwise, it interprets it as a literal value.
cmhampton
Junior Poster in Training
79 posts since Feb 2008
Reputation Points: 23
Solved Threads: 10