Array
(
[村西] => Array
(
[0] => Array
(
[headimg] =>'头像'
[info] => 村西
[product_name] =>产品1
)
[1] => Array
(
[headimg] =>'头像'
[info] => 村西
[product_name] => 产品2
)
)
[村东] => Array
(
[0] => Array
(
[headimg] =>'头像'
[info] => 村东
[product_name] => 产品3
)
[1] => Array
(
[headimg] =>'头像'
[info] => 村东
[product_name] => 产品4
)
[2] => Array
(
[headimg] =>'头像'
[info] => 村东
[product_name] => 产品5
)
)
[小邢庄村口] => Array
(
[0] => Array
(
[headimg] =>'头像'
[info] => 小邢庄村口
[product_name] => 产品6
)
)
Now the info has been merged into an array, that is, 'Village East' and 'Village West'. . Now I want to merge product_names in the same info together.
For example, 'Product 1' and 'Product 2' in Cunxi are merged together in the form of an array.
In addition, the health value of headimg should be retained
Thank you very much