is there a way to make the checkboxlist on the form to save data in 1 column?.
like (1, 2, 5 6), i know it works with boolean but it would make the db more simple…
i dont know too much about yii. i mustly use the gii crud and modify some file of them
if can be replied in spanish would be so appreciated
ahmed201
(Rifajas)
2
you can concatenate the the values by comma and save it like
$model->column1=imploade (',' , $checkBoxArray)
and save
should i put this in the controller or in the view… please show me the codes of the cactiveform widget form and the controller if you can…
ahmed201
(Rifajas)
4
sorry I am mobile pls refer this to get link
and you will get some idea…
i dont understand all of it. can please give me another example?
ahmed201
(Rifajas)
6
put it inside the action could you post your form and action?