How can I add these arrays?
<p>How can I get the addition of the total_qty_ordered of all the arrays?</p>

<p>This can be any number of arrays</p>

<pre><code>       Array ( [0] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [1] =&gt; Array
     ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [2] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000
 [1] =&gt;
     ) [3] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [4] =&gt; Array ( 
[total_qty_ordered] =&gt;
     1.0000 [1] =&gt; ) [5] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [6] =&gt; Array (

    [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [7] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1]
 =&gt; )
     [8] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [9] =&gt; Array ( 
[total_qty_ordered] =&gt; 
    2.0000 [1] =&gt; ) [10] =&gt; Array ( [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) [11] =&gt; Array (
 [total_qty_ordered] =&gt; 1.0000 [1] =&gt; ) )
</code></pre>
