PHP infinite classification algorithm_PHP tutorial

WBOY
Release: 2016-07-13 10:50:57
Original
956 people have browsed it



Question
PHP infinite classification algorithm
Solution
Please tell me about the PHP infinite classification algorithm, mainly the problem of classification and sorting. How to make the third-level classification closely under the second-level classification and the second-level classification under the first-level classification (at the same level). In addition, after moving the parent category, how to sort the sub-categories under this category?


Reference answer
There is an infinite classification algorithm based on left and right values
The original poster can search it by himself
You can also check it out on our website
[url=http://www.xmcase.com/phplib.php]Link tag www.xmcase.com/phplib.php[/url]
Reference answer
I thought of an algorithm, but when moving a column, I need to batch update all the sorting values ​​​​under the column

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632601.htmlTechArticleProblem PHP infinite classification algorithm solution. Please tell me about the PHP infinite classification algorithm, mainly the problem of classification and sorting. How to make the third-level classification closely under the second-level classification and the second-level classification under the first level...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template