数组求和操作
<br /> foreach($a as $k=>$v)<br /> {<br /> print_r($newarr);<br /> echo $a[$k]['5'].'<br />';<br /> }<br />
<br /> Array<br /> (<br /> [0] => Array<br /> (<br /> [lotno] => 3206<br /> [count] => 12<br /> )<br /> <br /> [1] => Array<br /> (<br /> [lotno] => 3207<br /> [count] => 63<br /> )<br /> <br /> [2] => Array<br /> (<br /> [lotno] => 3218<br /> [count] => 180<br /> )<br /> <br /> )<br /> 120<br /> Array<br /> (<br /> [0] => Array<br /> (<br /> [lotno] => 3206<br /> [count] => 12<br /> )<br /> <br /> [1] => Array<br /> (<br /> [lotno] => 3207<br /> [count] => 63<br /> )<br /> <br /> [2] => Array<br /> (<br /> [lotno] => 3218<br /> [count] => 180<br /> )<br /> <br /> )<br /> 135<br />