I need to build a hierarchical list in a website. There are four levels of information:
Categories > Types > Sections > Topics
the id of category is a foreign key for types, the id for types is a foreign key for sections, the id for sections is the foreign key for topics.
This structure seemed necessary as there are pages for each of those four kinds of levels. The pages each display the information in each part as well as the children parts.
Meaning, you could visit http://localhost/community/category.php?id=1 (or any number between 0 and 20ish) and http://localhost/community/types.php?id=3 etc for each of the other two kinds of information as well.
Could i build a hierarchical list with this sort of structure or would i have to do it like a traditional hierarchical mysql structure?