当前位置:Gxlcms > PHP教程 > 怎么把一个多维数组,按指定模式排列

怎么把一个多维数组,按指定模式排列

时间:2021-07-01 10:21:17 帮助过:2人阅读

怎样把一个多维数组,按指定模式排列
[code=PHP]Array
(
[0] => Array
(
[0] => 63
[cate_id] => 63
[1] => 34
[pid] => 34
[2] => 奥迪A6L新型C6原厂资料
[cate_name] => 奥迪A6L新型C6原厂资料
[3] => 0
[cate_size] => 0
[4] => 0
[show_order] => 0
[5] => 0
[is_hidden] => 0
)

[1] => Array
(
[0] => Array
(
[0] => 64
[cate_id] => 64
[1] => 63
[pid] => 63
[2] => 奥迪A6L新型C6原厂资料电路图
[cate_name] => 奥迪A6L新型C6原厂资料电路图
[3] => 0
[cate_size] => 0
[4] => 0

人气教程排行