I'm getting closer!  I have this right now:

        $mastercats = $this->User->find('all',
            array('conditions'=>array('User.id' => $id),
                'contain' => array(
                    'Mastercat' => array(
                        'fields'=>array('id','desc')
                    ),
                ),
            )
        );

I can't quite figure out how to get just the Mastercat id and
description of the ones associated with the user, and all the ones not
associated, so I can have a properly populated (with selections)
select list.

Any suggestions?  Maybe a manual query would be easier, but I still
don't know how to pass that to the view so it'd create a proper select
list.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to