Monday, December 31, 2012

Many to Many with extra data

Hi
I couldn't find the to solve this.
here is my problem

I have two tables related with many to many relation

Table1(id, t1_field1, t1_field2,...);

Table2(id, t2_field1, t2_field2,...);

and the association table

table1_table2(id,table1_id,table2_id,extra_field1, extra_field2extra_field3);

My problem is how to add these extra fields; When I try it only adds the two tables ids and nothing else.

Pleas Help

regards

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: