I wasn't able to get that script of yours to work, so I set a test up quickly. If I add a product and select the different multi_fields I get this as my $this->data:
Array ( [Product] => Array ( [name] => socks ) [Category] => Array ( [Category] => Array ( [0] => 3 ) ) [Color] => Array ( [Color] => Array ( [0] => 1 [1] => 2 ) ) [Size] => Array ( [Size] => Array ( [0] => 1 [1] => 2 ) ) ) This corresponds with the way you should write to HABTM models as per the documentation. I am not sure why your code is not working, but it looks like you have an issue with the way you are programmatically generating things in your app_controller and/or maybe an issue in the add form. I'll have another look tomorrow. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---