Forget my ignorance, I forgot to use var $belongsTo. :) On Apr 30, 2008, at 3:22 PM, Reza Muhammad wrote:
> > Hi Guys, > > I just started using CakePHP 1.2, and I have a question concerning a > One to Many relationships. > > I have two models, 'Model' and 'Part'. One model can have many > parts. I don't have a problem creating Model controller, but when I > want to add new parts, I want to have a list of the Models, and let > the user choose using a drop down menu (<select></select) > > Can anyone tell me how to use this? > > Thank you very much. > -Reza > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---