How to add second value of 2 dimensional array together?
<p>I have a two dimensional array.</p>

<pre><code>arr["id1"][10]
arr["id2"][20]
</code></pre>

<p>How to i add the second value of each item together.</p>

<p>e.g. 10 + 20 = 30 (return)</p>

<p>I need to run through all items in the array and add the second value together.</p>
