菜单树的图像实际上是静态名称,但现在我想从我的数据库表中获取该名称。我知道如何从表中选择记录,例如 .. select * from table_name whereparent=0
...以及选择子项 select * from table_name whereparent>0
.. .我能理解如何实现它
但问题是现在我想运行
最佳答案
select * from table_name where parent>=0
关于php - 想要将列值与同一个 mysql 表中的其他列值匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21952419/