Wie kann man diese Art von Daten zusammenführen?
简简单单
简简单单 2020-05-25 13:35:21
0
2
925

array(2) { ["世华"] => array(2) { [0] => array(3) { ["company_name"] => string(6) "世华" ["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"] => }}array(3) { ["Shihua"] => array(4) { [0] => array(2) { ["project"] => "count"] => int(0) } [1] => array(2) { ["project"] => "Huating Sunshine" ["count"] => ; ) } [2] => array(2) { ["project"] => string(12) "Zhenshui Town" ["count"] => 2) { ["project"] => string(12) "Xiangjiang Huafu" ["count"] => } ["Jianor"] => array (4) { [0] = > array(2) { ["project"] => string(9) "count"] => int(0) } [1] => 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) } ["Baiju"] => array(2) { ["project"] = > "count"] =>[1] => array(2) { ["project"] => string(12) "Huating Sunshine" ["count"] => array(2) { ["project"] => string(12) "Zhenshui Town" ["count"] => int(0) } [3] => array(2) { ["project"] = > (12) „Xiangjiang Huafu“ [„count“] =>(0) } }}

简简单单
简简单单

Antworte allen(1)
沐言

合并啥?

  • Antwort 两个数组,count值不同 需要把有count值的合并到另一个数组中。
    简简单单 Autor 2020-05-26 00:10:11
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!