我有两个要组合的数组。我需要通过组合它们从两个数组中获取值。
我的第一个数组是:
Array
(
[0] => Array
(
[1] => a
[2] => 1a
)
[1] => Array
(
[1] => b
[2] => 2b
)
)
这是我的第二个数组:
Array
(
[0] => Array
(
[1] => Aye Aye
[2] => 18
[3] => Female
[4] => Yangon
[5] => a
)
[1] => Array
(
[1] => Mg Mg
[2] => 20
[3] => Male
[4] => Mandalay
[5] => b
)
)
我想这样组合:
Array(
[0] => Array
(
[1] => a
[2] => 1a
[3] => Aye Aye
[4] => 18
[5] => Female
[6] => Yangon
[7] => a
)
[1] => Array
(
[1] => b
[2] => 2b
[3] => Mg Mg
[4] => 20
[5] => Male
[6] => Mandalay
[7] => b
)
)
我想组合第一个数组 [0] 和第二个数组 [0],以及第一个数组 [1] 和第二个数组 [1]。第一个数组[0][1] 和第二个数组[0][5] 总是相同的,然后第一个数组[1][1] 和第二个数组[1][5] 也是。请...