您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php无限归类

2024/2/28 20:48:17发布15次查看
php无限分类
db设计:
create table if not exists `test` ( `id` int(1) not null auto_increment, `path` varchar(255) not null, `name` varchar(255) not null, primary key (`id`))engine = myisam default char set ='utf8'; insert into `test` values ('', '0', '公司'), ('', '0-1', '部门一'), ('', '0-2', '部门二'), ('', '0-3', '部门三'), ('', '0-1-1', '小组一'), ('', '0-1-2', '小组二'), ('', '0-2-1', '小组三'), ('', '0-2-2', '小组四');
php代码实现:
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product