1.I have checkboxes data from view.
$data =["name1" =>"value1","name2"=>"value2","name3"=>"value3"]
2.I need to update in controller something like:
Config::update(
['id'=>1,"name"=>"name1","value"=>"value1"],
['id'=>2,"name"=>"name2","value"=>"value2"],
['id'=>3,"name"=>"name2","value"=>"value3"],
);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire