I want to store multiple checkboxes from a form to database.
 {!! Form::checkbox('expectations[]','New anerobic routines',true); !!} Find new anerobic routines <br>
 {!! Form::checkbox('expectations[]','New aerobic routines',true); !!} Find new aerobic routines <br>
 {!! Form::checkbox('expectations[]','Follow',true); !!}
I won't need these values later for viewing . Basically it would be for using them later for showing user data based on this data.
What's your suggestion to do so?
I already have the store method in the controller ready to insert data to db.
Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire