If i have the next groups table:

DROP TABLE IF EXISTS `bm_groups`;
CREATE TABLE `bm_groups` (
  `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(60) DEFAULT NULL,
  `parent_id` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) AUTO_INCREMENT=8;

INSERT INTO `bm_groups` (`id`, `name`, `parent_id`) VALUES
(1, 'Everybody', 0),
(2, 'Contributor', 1),
(3, 'Author', 2),
(4, 'Editor', 3),
(5, 'Moderator', 4),
(6, 'Manager', 5),
(7, 'Administrator', 6);

How can i print in a form view the indented select using cakephp find
method?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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