title: Parse a multi dimentional array in PHP
body: <p>I have an array</p>
  
  <pre><code>[1] =&gt; Array (
  [1] =&gt; Report
  )
  [2] =&gt; Array (
  [1] =&gt; Merchant Name
  [2] =&gt; Merchant Id
  [3] =&gt; Merchant Ref No
  [4] =&gt; Trans Date
  [5] =&gt;  Ref No
  [6] =&gt; Trans Type
  [7] =&gt; Trans Amt
  [8] =&gt; Trans Fee
  [9] =&gt; Serv Tax
  [10] =&gt; Total Fee
  [11] =&gt; Amt Settled
  [12] =&gt; Neft Ref.No
  [13] =&gt; Settlmnt Date
  [14] =&gt; Funds Settld Date
  )
  [3] =&gt; Array (
  [1] =&gt; yy Private Limited
  [2] =&gt; ESSIZMM000
  [3] =&gt; zWidItN33452373TcH
  [4] =&gt; 2014-12-02 10:27:47.82
  [5] =&gt; 265135490490229682
  [6] =&gt; SALES
  [7] =&gt; 249
  [8] =&gt; 2.241
  [9] =&gt; 0.277
  [10] =&gt; 2.518
  [11] =&gt; 246.482
  [12] =&gt; ABB SL : 00012
  [13] =&gt; 04-12-2014
  [14] =&gt; 04-12-2014
  )
  </code></pre>
  
  <p>This is an array I got after parsing an excel.The first array is the header of the excel where the column names are there and the second array onwards is the real data comes.Can some one help me how to parse out all the 11th index of the array except the first array?Here the 11th index is an amount , but in the first array ,is the header 'Amt Settled' which I don't need.</p>
  
  <p>I tried this</p>
  
  <pre><code>$cells = $worksheet['cells'];
  
  foreach ($cells as $key =&gt; $value)
  {
      echo $value['11'];
  }
  </code></pre>
  
  <p>where $cells is the array which is printed above.But when I'm using this i'm getting</p>
  
  <pre><code>Amt Settled246.482
  </code></pre>
  
  <p>How can I skip that first array ,ie the header of the excel.Is there some better suggestion for this other than my code?Please help</p>