问题描述
我有类别表...(ID,ParentID,标题,订购)
cat1
--cat1.1
--cat1.2
--- cat1.2.2
--- cat1.2.3
--- cat1.2.4
----无限级别
--cat1.3
cat2
cat3
i跟着这个美妙的教程
一切都很好但是,
1-我需要把结果放在表格中。像这样的 []
2-我需要将结果放在选择框中。像这样的 []
谢谢
我的尝试:
i跟着这个精彩的教程
i have categories table .. (ID,ParentID,Title,Ordering)
cat1
--cat1.1
--cat1.2
---cat1.2.2
---cat1.2.3
---cat1.2.4
----Unlimited level
--cat1.3
cat2
cat3
i followed this wonderful tutorials
Infinite dynamic Multi-level nested category with PHP and MySQL – Roy Tutorials
all thing is good but,
1- i need to put the result in table . like this [image]
2- i need to put the result in select box.like this [image]
thank you
What I have tried:
i followed this wonderful tutorials
推荐答案
这篇关于如何使用PHP检索表的类别和子类别(无限级别)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!