Which controller are you working with? Do you have both Location & Destination models? How are they associated? What fields/columns do they have?
If you set up the $data correctly, you should be able to do, eg: $this->Location->Destination->set($data); $this->Location->Destination->save(); On Wed, Aug 12, 2009 at 5:50 AM, Paulos23<[email protected]> wrote: > > Hi ppl, > I have a problem with my app.In particular i have a > locations_controller where i receive some xml data ,which i parse them > and save them in the locations table.The locations table usage is for > cache reasons so i use a 2nd table destinations to save final choices > of user.How can i get the data from locations table to destinations > table in a smart way? > > Any help would be nice! > Thx Paulos > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
