the structure of such a directory
is very much alike a filesystem:
each directory can have:
/subdirectories/
files
it is also very much like how forums work:
forum cat1
forum_1a - topics
forum_1b - topics
forum cat2
forum_2a - topics
forum_2b - topics
this could be created in a database virtually
using tables
I dont know exactly how to.
But tables could be:
- main_category
- sub1_category
- sub2_category
each subx_category row would have a field pointing to parent_cat
sub2_category would have a parent in sub1_category
sub1_category would have a parent in main_category
This case is mainly a matter of organising a database structure.
In form of a tree.
I am sure this has been done 1.000 of times before.
Regards