Array
(
[0] => Array
(
[id] => 1
[name] => Фрукты
[numbers] => 30
)
[1] => Array
(
[id] => 2
[name] => Овощи
[numbers] => 60
)
[2] => Array
(
[id] => 3
[name] => Электроника
[numbers] => 10
)
)
и
Array
(
[0] => Array
(
[id] => 1
[name] => Абрикос
[weight] => 14
[numbers] => 350
[section_id] => 1
)
[1] => Array
(
[id] => 2
[name] => Ананас
[weight] => 8.4
[numbers] => 7
[section_id] => 1
)
[2] => Array
(
[id] => 3
[name] => Апельсин
[weight] => 1.7
[numbers] => 10
[section_id] => 1
)
[3] => Array
(
[id] => 4
[name] => Банан
[weight] => 3.5
[numbers] => 25
[section_id] => 1
)
нужно получить средствами php вот такой
Array
(
[0] => Array
(
[id] => 1
[name] => Абрикос
[weight] => 14
[numbers] => 350
[section_id] => 1
)
[1] => Array
(
[id] => 2
[name] => Ананас
[weight] => 8.4
[numbers] => 7
[section_id] => Array (
[id] => 1
[name] => Фрукты
[numbers] => 30
)
)
[2] => Array
(
[id] => 3
[name] => Апельсин
[weight] => 1.7
[numbers] => 10
[section_id] => Array (
[id] => 1
[name] => Фрукты
[numbers] => 30
)
)
[3] => Array
(
[id] => 4
[name] => Банан
[weight] => 3.5
[numbers] => 25
[section_id] => Array (
[id] => 1
[name] => Фрукты
[numbers] => 30
)
)
данные попадают в массив из двух таблиц