I have made a three level categorization in my web page. Each articles goes through as SECTION->CATEGORY->SUBCATEGORY. section table has section_id and sectionname fields. category table has category_id, section_id, category name. subcategory table has subcategory_id, category_id, section_id, subcategoryname.
I have made a dynamic drop-down menu with 3 select drop-downs when adding articles to web site (as where do you want to save this article in style). It is working.
Now i want to display this sections, categories, and subcategories in an unordered list but i am lost. What I am seeking for:
<ul>
<li>Section Name
<ul>
<li>Category name for above section
<ul>
<li>Subcategory name for above category and section</li>
</ul>
</li>
</ul>
</li>
</ul>
I shall be happy so much for any help.
Thanks,