http://book.cakephp.org/view/78/Associations-Linking-Models-Together

go through this and u ll get an idea

On Sun, Aug 23, 2009 at 5:55 PM, simplesi <[email protected]> wrote:

>
>
> I'm re-coding a simple helpdesk application and I'd like to merge 2 tables
> into one.
> I could probably do this using a raw MySQL query but I'd like to know if it
> is possible to do it using a one-time controller/view action.
>
> My main table is Issues and my associated table is Changes where each issue
> has many changes.
> I'd like to loop through each Issue and find all assoicated Change.details
> and put them into one Issue.alldetails field.
>
> Any ideas please?
>
> regards
>
> Simon
>
>
>
> --
> View this message in context:
> http://www.nabble.com/How-do-I-merge-2-tables-tp25103063p25103063.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>


-- 
Farjad Habib
BS 2011
LUMS

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to