Answer the question
In order to leave comments, you need to log in
Merge two arrays?
There is the first array:
Array
(
[0] => Array
(
[date_sum] => 11.08.2016
[money] => 1234
)
[1] => Array
(
[date_sum] => 10.08.2016
[money] => 5555
)
...
Array
(
[0] => Array
(
[status] => 1
)
[1] => Array
(
[status] => 0
)
Array
(
[0] => Array
(
[date_sum] => 11.08.2016
[money] => 1234
[status] => 1
)
[1] => Array
(
[date_sum] => 10.08.2016
[money] => 5555
[status] => 0
)
...
Answer the question
In order to leave comments, you need to log in
$res3=[];
array_push($res3,array_merge($arr1[0],$arr2[0]),array_merge($arr1[1],$arr2[1]));
print_r($res3);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question