I have an array field in the HTML:
< input type="text" name="WineDescripcion[Description][]" />
This field can be duplicated by clicking a button, How can I save it into the model trough the controller ?
This is my current code:
$this->Vino->VinoDescription->save($this->data);
But this returns an SQL error:
Query: INSERT INTO `vino_description` (`subtitulo`, `descripcion`, `id_vino`) VALUES (Array, Array, 60)
Also if I try to change the name in the HTML to:
< input type="text" name="WineDescripcion[][Description]" />
That works, but only saves 1 record with "NULL" values. Thanks in advanced.