Hi Chad,

Try this..

<cfoutput>
<cfloop index="i" from="1" to="#arrayLen(variables.myArray)#">
        #myArray[variables.i][3]#<br/>
</cfloop>
</cfoutput>

Cheers,
Adam

-----Original Message-----
From: Chad Renando [mailto:[EMAIL PROTECTED] 
Sent: Friday, 13 May 2005 3:18 PM
To: CFAussie Mailing List
Subject: [cfaussie] Array Loop


I am looping through a 2-dimensional array.  Not sure if I am doing it
right, but I am doing something like:

MyArray[x][y]

Where 
x = an incrementing number and 
y = a parameter for the number.

So X would go 1, 2, 3 and y would be 'red', 'large', and 'Seattle'.

I then want to loop through and display all of the 3rd elements
('Seattle') in a *gasp* table.  How would I do this?

Thanks!!!

Chad
who has to run and get his kid at school and does not have time for a
witty signature.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to