Hi, have a look here http://rossoft.wordpress.com/2006/08/23/working-with-habtm-associations/ , the comments maybe useful.
But I remember I had a problem with this, because the cakePHP model's save-function always deleted and recreated all associations when one association was added, that way the extra data always got lost on the records. I only did a workaround and used my own SQL statement to save. I am not sure if this is outdated, and if there are better ways, at it worked for me. On 30 Apr., 14:23, tgies <[EMAIL PROTECTED]> wrote: > foo HABTM bar, but I also need to store some specific information > about that association -- say, a user HABTM groups, but each user also > has a role within that group and a date of joining that group which I > need to store in the foos_bars table. How do I get CakePHP to clue > into this and pull out that information from the foos_bars table? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---