Hi!
The relation n-n of my tables is like following:
And my code is:
$crud->set_relation_n_n('listePersonnes', 'entreprisespersonnes', 'personnes', 'entreprisespersonnes.IdEntreprise', 'IdPersonne', 'Nom', 'IdPersonne');
But when I save the form, there is error in the line created in the association table (entreprisespersonnes)! IdPersonne is always 'zero'
Is it because my primary keys are all named 'id' ???
Alain