2个数组相加,将一个数组写入另一个数组
已知数组a和数组b:
//数组a:<br /> array (<br /> 0 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '2X15',<br /> 'part_count' => '0',<br /> ),<br /> 1 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '2Z25',<br /> 'part_count' => '5',<br /> ),<br /> )<br /> <br /> //数组b:<br /> <br /> array (<br /> 0 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '2Z15',<br /> 'part_count' => '100',<br /> ),<br /> 1 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '3115',<br /> 'part_count' => '28',<br /> ),<br /> )
<br /> array (<br /> 0 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '2X15',<br /> 'part_count' => '0',<br /> ),<br /> 1 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '2Z15',<br /> 'part_count' => '105',<br /> ),<br /> 2 => <br /> array (<br /> 'cust_no' => '310F6 1VA5A',<br /> 'lotno' => '3115',<br /> 'part_count' => '28',<br /> ),<br /> )<br />