Can any one please tell me how i do populate data into the customer_hous table fom the controller. How do i get the two foreign keys of the Parent tables.
Each of the tables has it's own controller and their db tables.
class HouseObjectController extends Zend_Controller_Action
class Customer_HouseController extends Zend_Controller_Action
class CustomertController extends Zend_Controller_Action
Re: many-to-many relationship model (how to insert data ,...,)
This post has NOT been accepted by the mailing list yet.
Thank you for you quick response.
I understood what you meant. But i have already junction table, which i mean to hold the two foreign keys.
i wanted to know the implementation and how do it in the zend way, because i need to get the 2 foreignkeys.i can get one from the URI. I have read table relationship on the zend site, but i could not implement that, i would like to see some body show me how to implement it. Thanks in advance.