作者:mobiledu2502924751 | 来源:互联网 | 2014-03-29 12:37
为什么递归不起作用? 郁闷了
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