php循环的一个有关问题
程序员文章站
2022-05-21 18:53:13
...
php循环的一个问题
有这样一个数组
有这样一个数组
- PHP code
Array ( [0] => Array ( [id] => 1 [name] => ~core [title] => 项目 [_child] => Array ( [0] => Array ( [id] => 2 [name] => home [title] => 主页分组 [_child] => Array ( [0] => Array ( [id] => 3 [name] => index [title] => 首页模块 [_child] => Array ( [0] => Array ( [id] => 5 [name] => index [title] => 项目首页 ) ) ) [1] => Array ( [id] => 4 [name] => user [title] => 用户模块 [_child] => Array ( [0] => Array ( [id] => 6 [name] => index [title] => 用户首页 ) [1] => Array ( [id] => 7 [name] => login [title] => 登陆首页 ) [2] => Array ( [id] => 8 [name] => logout [title] => 登出 ) ) ) ) ) [1] => Array ( [id] => 9 [name] => company [title] => 公司分组 [_child] => Array ( [0] => Array ( [id] => 11 [name] => index [title] => 公司模块 [_child] => Array ( [0] => Array ( [id] => 12 [name] => pub [title] => 测试 ) ) ) ) ) [2] => Array ( [id] => 10 [name] => user [title] => 用户分组 [_child] => Array ( [0] => Array ( [id] => 13 [name] => client [title] => 业务管理 [_child] => Array ( [0] => Array ( [id] => 16 [name] => index [title] => 业务增加页 ) ) ) [1] => Array ( [id] => 14 [name] => knowledge [title] => 文章首页 [_child] => Array ( [0] => Array ( [id] => 15 [name] => pub [title] => 文章发布 ) ) ) ) ) ) ) )相关文章
相关视频
上一篇: python 测试实现方法
推荐阅读
-
PHP版本的选择5.2.17 5.3.27 5.3.28 5.4 5.5兼容性问题分析_PHP
-
php警告Creating default object from empty value 问题的解决方法
-
自己写的一个php基于phpQuery的通用采集类
-
解析array splice的移除数组中指定键的值,返回一个新的数组_PHP
-
PHP的一个完美GIF等比缩放类,附带去除缩放黑背景_PHP
-
一个基于phpQuery的php通用采集类分享_PHP教程
-
PHP6.0安装有关问题,解压后在C:/php/中找不到php.ini-recommended这个文件
-
php unlink 删除有关问题
-
Mysql 导入SQL脚本乱码的有关问题
-
一个正则有关问题