I am trying to build an array using a cfloop
of query data. I am not sure how to increment the array count vs just overwriting the first value in the array each time? If this doesn't make sense please let me know.
<CFSET MyArray=ArrayNew(1)>
<CFLOOP QUERY="GetPermission">
<CFIF #GetPermission.Permission_ID GT 10>
<CFSET MyArray[increment value][GetPermission.Permission_ID]>
</CFIF>
</CFLOOP>
So my array should look something like MyArray[11,14,24,25,31]