HAHA! Figured it out!
Cake ignores array items that don't match when saving, so i can just add hidden fields for the different fields in the second model and then just save! Sound about right? On Feb 1, 12:29 pm, designvoid <[EMAIL PROTECTED]> wrote: > Hi there, > > I have a shopping cart table with associated tables and an orders > table with associated tables, I want to move the shopping cart data > into the orders tables once the user clicks checkout. > > The cart and orders tables have 2 differently named fields but are > essentially the same (im using orders to keep perminant record and the > cart is temporary). > > Any thoughts how I can achive this without doing some horrid array > looping kludge? > > TIA, > > toby. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
