Hi Guys,

I am an newbie in CakePHP. I am building an application in cake where
i have to show the categories and their subcategories as menus. I
would like to add infiniate categories and subcategories and their
subcategories. e.g. We have "Health" as Main category then there is an
Subcategory  "Mental health" and "Men's health". Now i want to add
other subcategory to "Mental Health' as depression and so on......,

Tree can be as Health->Mental health and Men's health  then Mental
health ->Depression and so on. Here Depression can also have
subcategories.

What Database structure should i adopt to have above functionality ?
And how can i retrieve these from the Database using Associations or
some other way.

Please help.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to