Ok. I'll take note, but can someone show me how to make those loops...
Btw, I forgot to mention that the same thing can be done using index looping,
if I'm using 1D array that contain lists, for example:
<cfset myarray=ArrayNew(1)>
<cfset myarray[1]="A,B,C,D">
<cfset myarray[2]="E,F">
<cfset myarray[3]="G,H,I">
<cfloop index="p" list="#myarray[1]#" delimiter=",">
<cfloop index="q" list="#myarray[2]#" delimiter=",">
<cfloop index="r" list="#myarray[3]#" delimiter=",">
<cfoutput>#p##q##r#<br></cfoutput>
</cfloop>
</cfloop>
</cfloop>
The only problem is, by using that method, the number of nested loops depend
on the myarray's length. What if the myarray's length is dynamic (could be
1,2,3,...or 100 maybe)?. Is it possible to use a predefined template and use
<cfinclude> inside the loop? If it is, how would I do it?