当前位置:Gxlcms > PHP教程 > 为何递归不起作用?郁闷了

为何递归不起作用?郁闷了

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

为什么递归不起作用? 郁闷了

Array
(
[0] => Array
(
[0] => 1
[catid] => 1
[1] => 0
[parentid] => 0
[2] => 关于我们
[catname] => 关于我们
[3] => 4
[listorder] => 4
[4] => 0
[items] => 0
[5] => 1
[type] => 1
[child] => Array
(
[0] => Array
(
[0] => 2
[catid] => 2
[1] => 1
[parentid] => 1
[2] => 关于我们
[catname] => 关于我们
[3] => 1
[listorder] => 1
[4] => 0
[items] => 0
[5] => 1
[type] => 1
)

[1] => Array
(
[0] => 3
[catid] => 3
[1] => 1
[parentid] => 1
[2] => 公司荣誉
[catname] => 公司荣誉
[3] => 2

人气教程排行