douchuang1852 2017-03-10 13:29
浏览 24

如何回显php数组

I have array

array(2) {
  ["Smiley TV"]=>
  array(2) {
    ["Speed"]=>
    array(2) {
      ["download"]=>
      string(4) "9510"
      ["upload"]=>
      string(5) "33775"
    }
    ["Turbo"]=>
    array(2) {
      ["download"]=>
      string(4) "2427"
      ["upload"]=>
      string(5) "19696"
    }
  }
  ["Victory Media"]=>
  array(1) {
    ["Speed"]=>
    array(2) {
      ["download"]=>
      string(4) "4144"
      ["upload"]=>
      string(5) "80445"
    }
  }
}

How i can echo this array in the table

enter image description here

I this array i have name of partners( smiley tv/ victory media) and traffic(Speed/turbo) and download/upload values, how can i represent this data to the this table, with using foreach(because pertners and traffic can be more than two). So i need represent all partners at the head of this table traffic at the left and speed is under the partners.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥100 set_link_state
    • ¥15 虚幻5 UE美术毛发渲染
    • ¥15 CVRP 图论 物流运输优化
    • ¥15 Tableau online 嵌入ppt失败
    • ¥100 支付宝网页转账系统不识别账号
    • ¥15 基于单片机的靶位控制系统
    • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度