Thanks and happy new year,
I'm going to make it as a you said. 

BUT a simple question how can I add new data and update data to the table1 
and the table1_table2 on the same form.

Le lundi 31 décembre 2012 15:54:20 UTC+1, jsundquist a écrit :
>
> Your joining table needs to be become its own model as a belongs to for 
> Table1 and Table2 and then Table2 has many Table1_Table2 and same for 
> Table1.
>
>
> On Mon, Dec 31, 2012 at 5:34 AM, Anis Ghabri <ghabr...@gmail.com<javascript:>
> > wrote:
>
>> 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_field2, 
>> extra_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...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> cake-php+u...@googlegroups.com <javascript:>.
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>  
>>  
>>
>
>

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


Reply via email to