i have a list of 495 categories which are nested up to 4 levels., example
|_sub categoey 1.0
|_sub categoey 1.0.0
|_sub categoey 18.104.22.168
now if i am thinking of making a tree menu, so what do u guys suggest. shall i make a function which recursively makes list every time a new page is loaded or i just make a function in admin area so that when ever i wanna update category, i just click on button and it writes in file .. say menu.php and it gets stored in regular <ul><li> format so that continuous database read can be avoided.
if there is a better way to implement this, plz suggest so. also i would like ur suggestions about best recursive function to generate category list.
thanks a lot