Answer the question
In order to leave comments, you need to log in
tree menu. How to choose first ancestors, then descendants?
Good evening!
There is a table for a tree menu
for example
id, parentid, title
Answer the question
In order to leave comments, you need to log in
Change to the Nested Set structure . In this case, the selection in the desired order is done by sorting by the left key.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question