mardi 31 janvier 2017

Laravel get value of checkbox

i have many checkboxes with this code

@foreach($camera_video as $video)
  <input type="checkbox" name="camera_video" value=""> <label></label>
@endforeach

now i would like to see which checkboxes the user have checked. I just need the id (value) to store. How is the best way to do this in laravel?




Aucun commentaire:

Enregistrer un commentaire