On 1/30/07, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > My questions are: > - Give my order have many order lines how can do a join with my supply > table to get the product names, I am not sure doing multiple gets of > names from the supply controller is the right thing to do
Please elaborate the problem - also look at cakePHP conventions to organize your tables according to them so they are more easy to understand for you and everyone else > - Since OrderLine is contained by Order, can I use the Order > controller to save the OrderLine? Yes, in your order_controller $this->Order->OrderLine->save() will work fine Cheers Tarique -- ============================================================= PHP for E-Biz: http://sanisoft.com Cheesecake-Photoblog: http://cheesecake-photoblog.org ============================================================= --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
