I've been fooling around with a "tree" function for categories for the past year of so. It is easy to just print them out but much harder to print them out in parent-child order.
NOTE: the files are in the wrong folder so none of the hyperlinks work. they would work just fine if I moved them to the correct folder. In other words, don't click on the links when you display the page.
it all started because I needed something like this:
http://www.indexuhelp.com/dtree/index.php
This is a dynamic version and took 0.120013 seconds to build (your time will vary)
this one is not in parent-child order BUT uses a SINGLE query to generate the listing.
this one is in parent-child order. it generates the categories using a SINGLE query
http://www.indexuhelp.com/dtree/site_lister.html
this is the static version and took 1.752938 seconds to build
this one is in parent-child order. it generates the categories using a SINGLE query then uses a single category to generate the links.
http://www.indexuhelp.com/dtree/list_all.html
this is the static version and took 1.862226 seconds to build
I did all of that because I needed to write the code without using any INDEXU code. I am working on rewriting my banner MOD. And while it will be tightly integrated with INDEXU it will also be a stand-alone module:
used for BANNER / PAYPAL MOD
this one is in parent-child order. it generates the categories using a SINGLE query
http://www.indexuhelp.com/dtree/select_option.php
.


hows the banner mod coming along? sounds like a nice little addon.
