[eluser]Federico Gonzalez[/eluser]
Hi,
I want to update a multiple relationship (without first deleting and then saving). I receive a multiple checkbox from $_POST, like this:
In model
class Language .... $has_many = array("country") ...}
class Country ... $has_many = array("language") ...}
In view
<input type="checkbox" name="countries[]" value="x" />
In controller
What have I to do in the controller?