I create table: id, name, thread_id The mainly thread has thread_id = 0, but their children has theard_id = id of parent, and how is the best and simplest solution to create list with children, and looks like:
- Category 1
Product 1
Product 2 - Category 2
Product 3
etc...
Maybe You have better solution for such a list?
Sorry, for my english:)