PHP框架里,怎样遍历分类一一对应
array (size=33) 0 => array (size=5) 'id' => string '1' (length=1) 'name' => string '夏装' (length=6) 'pid' => string '0' (length=1) 'path' => string '0,' (length=2) 'des' => string '' (length=0)
1 => array (size=5) 'id' => string '2' (length=1) 'name' => string '冬装' (length=6) 'pid' => string '0' (length=1) 'path' => string '0,' (length=2) 'des' => string '' (length=0)
12 => array (size=5) 'id' => string '15' (length=2) 'name' => string 'polo衫' (length=7) 'pid' => string '1' (length=1) 'path' => string '0,1,' (length=4) 'des' => string '' (length=0)
13 => array (size=5) 'id' => string '16' (length=2) 'name' => string 'T恤' (length=4) 'pid' => string '1' (length=1) 'path' => string '0,1,' (length=4) 'des' => string '' (length=0)
14 => array (size=5) 'id' => string '17' (length=2) 'name' => string '背心' (length=6) 'pid' => string '1' (length=1) 'path' => string '0,1,' (length=4) 'des' => string '' (length=0)
15 => array (size=5) 'id' => string '18' (length=2) 'name' => string '卫衣' (length=6) 'pid' => string '2' (length=1) 'path' => string '0,2,' (length=4) 'des' => string '' (length=0)
16 => array (size=5) 'id' => string '19' (length=2) 'name' => string '夹克' (length=6) 'pid' => string '2' (length=1) 'path' => string '0,2,' (length=4) 'des' => string '' (length=0)
17 => array (size=5) 'id' => string '20' (length=2) 'name' => string '马甲' (length=6) 'pid' => string '2' (length=1) 'path' => string '0,2,' (length=4) 'des' => string '' (length=0)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论