merge arrays according to field seller_id
Array $result is as follows
Array
(
[0] => Array
(
[seller_id] => 17140
[bp_counts] => 1
)
[1] => Array
(
[seller_id] => 17140
[dr_counts] => 9
)
[3] => Array
(
[seller_id] => 17140
[dc_counts] => 10
)
)
the desired array is
Array
(
[0] => Array
(
[seller_id] => 17140
[bp_counts] => 1
[dr_counts] => 9
[dc_counts] => 10
)
)
ask the great god to help solve it, thank you.