Hi all, I've created a tree (to manage categories + subcategories) as explained in the cookbook. I'm using parent_id, lft, rght and name as fields in my db. I'm trying to figure out how to generate a dropdown list (as select element with optgroup for each parent element) by using either $form->input() or $form->select(). I've been trying several solutions but without any luck.
What I basically want is this: Category 1 subcategory subcategory Category 2 subcategory subcategory I hope anyone can give me some advice. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
