Tag Archives: tree
Display nested categories PHP Class
Creating categories and its sub categories is always prevalent when we are developing simple to huge applications. Basically we will have the requirement of creating one- leveled subcategory of parent category but when we come across creating multi-leveled subcategories , then it seems little vague, complex to meet the requirement. Here I have made …
Storing Hierarchical Data in a Database
Whether you want to build your own forum, publish the messages from a mailing list on your Website, or write your own cms: there will be a moment that you’ll want to store hierarchical data in a database. And, unless you’re using a XML-like database, tables aren’t hierarchical; they’re just a flat list. You’ll have …