日期:2014-05-17  浏览次数:20425 次

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

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
           &nb