I am sure this is straightforward but I need to grab whatever is selected in my checkboxes and enter all values, as text, into my text field. I am using Laravel.
Can anyone point me in the right direction please?
VIEW
<input type="checkbox" value="Item 1" name="other_info[]">
<input type="checkbox" value="Item 2" name="other_info[]">
<input type="checkbox" value="Item 3" name="other_info[]">
CONTROLLER
$user = new User;
$user->firstname = Input::get('firstname');
$user->other_info = Input::get('other_info');
$user->save();