array append error "Object of type class java.lang.String cannot be used as an array"
I have an array that I would like to continue adding items to. Setting the array and displaying the contents works fine but when I try to append I get the error message "Object of type class java.lang.String cannot be used as an array" Should this be a structure? or do I have my looping in the wrong place? The goal is to combine 200 arrays into the content variable so I can write a .csv file to the server.
Here's the basics:
<cfset content= ArrayNew(1)>
run queries
<cfset content = "#q14.name#" &","& "#big
(this part above displays correctly in a cfdump with the items from the query which looks like this
Category, Written communication, 10)
<cfloop index="k" from="1" to="5">
<cfset temp = arrayappend(content, "#q14.name# ,#big
</cfloop>
I've also tried something as simple as <cfset ArrayAppend(content, "hello test")> which still gives the above error message.
