Array ([108-3752685-0517825] = = Array ([0] = 6300-00) [107-5010391-7170621] = = Array ([0] = 0054-00) [1 05-5621773-8281824] = Array ([0] = 0049-00))
Array ([2200320000123] = = Array ([0] = 0054-00) [2200320123501] = = Array ([0] = 0049-00) [2200320123952 + = Array ([0] = 0049-00))
Array ([108-3752685-0517825] = = Array ([0] = 6300-00) [107-5010391-7170621] = = Array ([0] = 0054-00) [1 05-5621773-8281824] = Array ([0] = 0049-00) [0] = = Array ([0] = 0054-00) [1] = = Array ([0] = 00 49-00) [2] = = Array ([0] = 0049-00))
After merging with Array_merge, the key name of the second array is gone, I am not using the wrong one??
Reply to discussion (solution)
Isn't that the case?
$a = Array (' 108-3752685-0517825 ' = = Array (0 = ' 6300-00 ',), ' 107-501039 1-7170621 ' = = Array (0 = ' 0054-00 ',), ' 105-5621773-8281824 ' = = Array (0 = ' 0049-00 ',), $b = Array (' 2200320000123 ' = = Array (0 = ' 0054-00 ',), ' 2200320123501 ' = = Array (0 = ' 0049-00 ' ,), ' 220032012395200 ' = = Array (0 = ' 0049-00 ',), $t = Array_merge ($a, $b);p Rint_r ($t);
Array ( [108-3752685-0517825] = = Array ( [0] = 6300-00 ) [107-5010391-7170621] = = Array ( [0] = 0054-00 ) [105-5621773-8281824] = = Array ( [0] = 0049-00 ) [ 2200320000123] = array ( [0] = 0054-00 ) [2200320123501] = = Array ( [0] = > 0049-00 ) [220032012395200] = = Array ([0] = 0049-00 ))
$new _order_list=getsaleorder (' new ', 1); $re _order_list=getsaleorder (' re ', 1); $order _list=array_merge ($new _order_ List, $re _order_list);p rint_r ($new _order_list);p rint_r ($re _order_list);p rint_r ($order _list);
But my results are wrong, and I don't know what's wrong.