首页 >后端开发 >php教程 >为何递归不起作用? 郁闷了

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

WBOY
WBOY原创
2016-06-13 11:38:26913浏览

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

<br>Array<br>(<br>    [0] => Array<br>        (<br>            [0] => 1<br>            [catid] => 1<br>            [1] => 0<br>            [parentid] => 0<br>            [2] => 关于我们<br>            [catname] => 关于我们<br>            [3] => 4<br>            [listorder] => 4<br>            [4] => 0<br>            [items] => 0<br>            [5] => 1<br>            [type] => 1<br>            [child] => Array<br>                (<br>                    [0] => Array<br>                        (<br>                            [0] => 2<br>                            [catid] => 2<br>                            [1] => 1<br>                            [parentid] => 1<br>                            [2] => 关于我们<br>                            [catname] => 关于我们<br>                            [3] => 1<br>                            [listorder] => 1<br>                            [4] => 0<br>                            [items] => 0<br>                            [5] => 1<br>                            [type] => 1<br>                        )<br><br>                    [1] => Array<br>                        (<br>                            [0] => 3<br>                            [catid] => 3<br>                            [1] => 1<br>                            [parentid] => 1<br>                            [2] => 公司荣誉<br>                            [catname] => 公司荣誉<br>                            [3] => 2<div class="clear">
                 
              
              
        
            </div>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn