I got this problem too.
Anyone can solve this problem ?

On Wed, Apr 9, 2008 at 5:55 AM, Kevin <[EMAIL PROTECTED]> wrote:

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


-- 
http://paydjo.net/2008/04/11/diskusi-blogger-dan-roy-suryo-di-ubl/

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

Reply via email to