Getting key from an array
<p>I have an array called $array which contains entries like this:</p>

<pre><code>Array ( 
  [2340] =&gt; Array ( 
     [cv] =&gt; Array ( 
       [size] =&gt; 317613
       [c] =&gt; 3 ) ) 
  [16410] =&gt; Array ( 
     [cv] =&gt; Array ( 
       [size] =&gt; 119808 
       [c] =&gt; 1 ) ) 
)
</code></pre>

<p>I am using the below and everything works except the first value - I need it to display 2340 in the first iteration and then 16410 in the second where I have $row[0] below:</p>

<pre><code>foreach ($array as $row) {
  print $row[0];
  print($row[cv][size]);
  print($row[cv][c]);
}
</code></pre>

<p>How do I access that first ID?</p>
