配列
(
[状態] => 1
[データ] => 配列
(
[0] => 配列
(
[ catid] => 105
[名前] => 通知
[url] => http://www.xingan111.cn/jzxa/tongzhi/
[子供を持つ] => 1
)
[1] => 配列
(
[catid] => 106
[名前] => 新闻
[url] => ://www.xingan111.cn/jzxa/jzxanews/
[hasChildren] => 1
)
[2] =>配列
(
[catid] => 114
[名前] => 社区
[url] => http://www.xingan111.cn/jzxa/jzxashequ/
[子供を持つ] => 1
)
[3] => 配列
(
[catid] => 115
[名前] => 公益
[url] => http://www.xingan111.cn/jzxa/jzxagongyi/
[hasChildren] => 1
)
[4] => 配列
(
[catid] => 116
[name] => 执法
[url] => http://www.xingan111.cn/jzxa/jzxazhifa/
[子供がいる] => 1
)
[5] => 配列
(
[catid] => 117
[name] => 政法
[url] => http://www.xingan111.cn/jzxa/jzxazhengfa/
[hasChildren] => 1
)
[6] => 配列
(
[catid] => 118
[name] => 便民
[url] =>http://www.xingan111.cn/jzxa/jzxabianmin/
[hasChildren] => 1
)
[7] => 配列
(
[catid] => 119
[name] => 美图
[url] => http://www.xingan111.cn/jzxa/jzxameitu/
[hasChildren] => 1
)
)
)
上の数组,我想将[catid] [名前] [url] [hasChildren]对应的值都读出来(php方式),怎么做?
回复讨论(解决方案)
读到哪里?
存您认是简单题
、那何不自己解决呢? 私は勉強を始めようとしていますが、この問題は 2 つの foreach を使用して遍歴できます。