Maison >développement back-end >tutoriel php >为何递归不起作用? 郁闷了

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

WBOY
WBOYoriginal
2016-06-13 11:38:26910parcourir

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

<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>
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn