Hello im using this code for a multiple select form
{{ Form::select('language', $language, null, array('multiple' => true, 'multiple class' => 'chosen-select form-control')); }}
but this code only send the last input to database, ive searched and found to attach this [ ] to the name like this
{{ Form::select('language[]', $language, null, array('multiple' => true, 'multiple class' => 'chosen-select form-control')); }}
But with this code i cant save the data, did you know why?
Thank you