If you use cake1.2, you could use the option 'with' on the HABTM
relation. The 'with' should be a model, then you will be able to
manage the extra fields in the relation. The query on client model
will associate the model used for relation and your priority will be
in it.
Hope this helps

On Nov 9, 3:21 pm, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!
> I have a HABTM relation between products and clients. I create the
> models and the table clients_products with the fields Id, client_id,
> product_id and one additional field called priority.
> I do the index view for products and for each product I write its
> clients. But I want to write the priority next to each client. How can
> I obtain this information from the table clients_products?
> Thanks and regards


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