Are all of the Pictures in a particular Gallery associated with a
specific Product? If so, you might want to consider associating
Gallery to Product instead of Picture to Product.

It would probably help if you posted the model associations you have now.

On Mon, Apr 6, 2009 at 8:29 AM, nahom <avinoa...@gmail.com> wrote:
>
> The problem is mostly about correlation between Table
> I'm trying to make a relation between 3 tables:
> my first table is The Product and he has many Pictures
> and each picture is taken from a Gallery
>
> now the relation works fine the thing is how can i call My Gallery in
> Product controller
> I tried using USES and it didn't work so I define a has many relation
> between the Product and Gallery
> Now Cake lets me call from my Product controller to the Gallery
> But the correlation isn't correct!!!!
>
> Any idea How to do it write
> Article will do fine as well
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to