Originally in a site system intended to use the median sorting method to achieve unlimited classification, but unfortunately restricted the accuracy of the median value, it is actually unable to implement ... Now I have a unrelated classification of a database ... Let's take a look What needs to be improved ... address:
Http://www.yubeinet.com/sort/ With the system directory structure. (In fact, this is a directory browsing service, but use PHP implementation) In practical applications, you can use database analog directory structures to achieve unlimited categories. ... But when you create a tree, you still need to recursively if you use the database, you can use the method of establishing an ORDER field after recursive ..