$this->set('manufacturersArray',$this->Product->Manufacturer->generateList());On 12/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hey, I'm pretty new to CakePHP and had a question: I have two tables, Products and Manufacturers, and products has a foreign key that joins them. I wanted to have a select tag that maps to Products to put the value in the foreign key field, but that pulls the name and id from manufacturers for the display. Any idea how to accomplish this? >
-- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
