栏目表是 有 id name fatherid怎么写个循环呢? 主要是中间栏目部分 可能很多级 fatherid是上级栏目的ID号
回复讨论(解决方案)
递归呀! 算法是必须有的,如果预先生成好当然简单。但是隶属关系发生改变时,再手工生成一遍吗
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn