[eluser]markup2go[/eluser]
MEM can you share the model you're using to build that array? I'm having the same difficulty figuring how this functionality is SUPPOSED to be done. Can anyone add any tips or examples? I'm building a small online shop that requires unlimited subcategories as well as a many-to-many relationship between categories and products.
Here is how my categories table is setup:
Table 1: Categories
Columns: id, name, parent_id
In addition, here is my products tables
Table 2: Products
Columns: id, name, price, description (etc etc)
Table 3: Categories_Products
Columns: id, categories_id, products_id
Thanks for the help it is greatly appreciated.