php - How to make dynamic tree menu from database? -


I want to use the library: To create a dynamic menu in HTML using the database. I have created a table with menu structure

Enter image details here

Once I see the documentation:

How do I remove data from the table? What should be included in the array? If so, what are the use examples?

Earlier, I created a class that would inquire to remove the menu to see. It's just that I think it is very hard to use such a query, my class is like this:

Memory with a single question Is there a better way to save in which I get the same result?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Create dynamic LINQ query expression at runtime which translates into a parameterized SQL query for nullable types -

cmake - cpack generates RPMs with %files entries that conflict with the RPM spec. How to fix? -