How to merge this kind of data?
简简单单
简简单单 2020-05-25 13:35:21
0
2
960

array(2) { ["Shihua"] => array(2) { [0] => array(3) { ["company_name"] => string(6) "Shihua" [ "project"] => string(12) "Huating Sunshine" ["count"] => int(1) } [1] => array(3) { ["company_name"] => string( 6) "Shihua" ["project"] => string(9) "天灁福" ["count"] => int(2) } } ["Baiju"] => array(1) { [0] => array(3) { ["company_name"] => string(6) "Baiju" ["project"] => string(9) "Repulse Bay" ["count"] => ; int(1) } }}array(3) { ["世华"] => array(4) { [0] => array(2) { ["project"] => string(9) "天灁福" ["count"] => int(0) } [1] => array(2) { ["project"] => string(12) "Huating Sunshine" ["count"] => int(0) } [2] => array(2) { ["project"] => string(12) "Zhenshui Town" ["count"] => int(0) } [3] => array(2) { ["project"] => string(12) "Xiangjiang Huafu" ["count"] => int(0) } } ["Jianor"] => ; array(4) { [0] => array(2) { ["project"] => string(9) "天灁福" ["count"] => int(0) } [1] = > array(2) { ["project"] => string(12) "Huating Sunshine" ["count"] => int(0) } [2] => array(2) { [" project"] => string(12) "Zhenshui Town" ["count"] => int(0) } [3] => array(2) { ["project"] => string( 12) "Hong Kong House" ["count"] => int(0) } } ["Baiju"] => array(4) { [0] => array(2) { ["project" ] => string(9) "天灁福" ["count"] => int(0) }[1] => array(2) { ["project"] => string(12) "Huating Sunshine" ["count"] => int(0) } [2] => array(2 ) { ["project"] => string(12) "Zhenshui Town" ["count"] => int(0) } [3] => array(2) { ["project"] = > string(12) "Xiangjiang Huafu" ["count"] => int(0) } }}

简简单单
简简单单

reply all(1)
沐言

Merge what?

  • reply Two arrays with different count values ​​need to be merged into the other array.
    简简单单 author 2020-05-26 00:10:11
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template