I have a multi dimensional array in PHP that includes
Array( => Array (  => Week 10 - 2011  => 384266.0  => APPL))
Array( => Array (  => Week 10 - 2011  => 364266.0  => BLK))
A Date in the first element on the imbedded array, volume in the second and a ticker in the third.
My array can be up to 6000ish long. And Dates repeat for different tickers, and tickers repeat for different dates.
The dates can be either days, weeks, months, Quarters or years
I want to loop through the array and display it in an html table with the following format
Date1 Date2 Date3 Date4 ....
Ticker1 Volume Volume Volume Volume
Ticker2 Volume Volume Volume Volume
Ticker3 Volume Volume Volume Volume
Ticker4 Volume Volume Volume Volume
... ... .... .... ....
It displays the ticker on the y axis and the date on the x. Then displays the volume for the corresponding ticker on that date.
How would I loop through the array to do this?