PHP需要在不修改MySql数据库的情况下显示MPTT

发布于 2024-09-27 22:54:35 字数 239 浏览 0 评论 0原文

我有一个 MPTT 组织的 MySql 数据库,我需要显示它,没有级别限制,我无法更改数据库,我已经尝试过 http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/,但仍然让我有些头疼。

I have a MPTT organized MySql database which i need to display , there is no level limit and i can't alter the database, i've tryed http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/, but still got me a few headeachs.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↘人皮目录ツ 2024-10-04 22:54:35

我选择了开源 Baum 包来解决这个问题,它实现了大部分嵌套算法,尽管它可以需要改进,这是我发现的最好的起点。

I have chosen open sourced Baum package to solve this one, has most of the nested algorithms implemented and although it can be improved it was the best starting point I found around.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文