PHP Classes

Many to Many relationship

Recommend this page to a friend!

      AJAX CRUD Lite  >  All threads  >  Many to Many relationship  >  (Un) Subscribe thread alerts  
Subject:Many to Many relationship
Summary:How can I correctly implement this kind of relationship?
Date:2012-08-16 17:52:27

  1. Many to Many relationship   Reply   Report abuse  
Picture of Fernando Fernando - 2012-08-16 17:52:27
Hello, I'm working with this great class but I'm messing with many-to-many relationships.

I'd created the tbl1, tbl2 and tbl2_has_tbl1 intermediate table for the MN relationship.

Now, searching inside the ajaxCRUD documentation all that I found was the addButtonToRow() method. But I don't think that this is what I'm needing.

I thought that there will be a sort of multiple selection list, for this kind of relationship.

Is there a correct way to implement this?