Associative array how to get the key of the current element which is an array
<p>I have an array</p>

<pre><code>      Array ( [0] =&gt; Array ( [2006] =&gt; Array ( [0] =&gt; 12 ) )
               [1] =&gt; Array ( [2004] =&gt; Array ( [0] =&gt; 12 [1] =&gt; 6 ) )
            ) 
</code></pre>

<p>How do I get the year so I can generate the folllowing using unordered list</p>

<pre><code>2006
    December
2004
    December
    June
</code></pre>
