So I have a projects table and a categories table. Then I have a projects_categories junction table for them. Well I need to be able to associate an image to a projects category. So I put an image_id into the projects_categories table. I can select things fine with this layout but when I goto save its not working. When I look at the generated sql it is "INSERT INTO projects_categories (image_id, category_id) ....". Obviously its missing a project_id in there.
So I don't know if I need to fix something in one of the models or if theres something missing in the data I pass to save. Any pointers would be great. Thanks in advanced -Kevin- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
