Amber_j
2009-03-11 05:03:35 UTC
I have a table that has id, category_parent and category_name. How can I write
a query so that I can get nested [BULLET] as follwing:
<ul id="nav">
[LI] <a href="#" >first Level menu</a>
[BULLET]
[LI]<a href="#" >second Level menu</a></li>
[LI]<a href="#" >second Level menu</a>
[BULLET]
[LI]<a href="#" >third Level menu</a></li>
[/BULLET]
</li>
[/BULLET]
</li>
[/BULLET]
Please help!!
-A
a query so that I can get nested [BULLET] as follwing:
<ul id="nav">
[LI] <a href="#" >first Level menu</a>
[BULLET]
[LI]<a href="#" >second Level menu</a></li>
[LI]<a href="#" >second Level menu</a>
[BULLET]
[LI]<a href="#" >third Level menu</a></li>
[/BULLET]
</li>
[/BULLET]
</li>
[/BULLET]
Please help!!
-A