I am trying to insert multiple values from multiple values checkbox also adding the dropmenus values i need a way to post all these values this the view code:
@extends('admin/main')
@section('title','|Add Section')
@section ('content')
{!!Form::open()!!}
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="col-md-8" id="courses">
<h3 align="center">Computer Engineering courses</h3>
<br>
<form>
@foreach ($courses as $course)
<div class="form-check">
<label>
<input type="checkbox" name="sections[]" value=""> <span class="label-text"><span style="color:#ea9c9b"></span> </span>
</label>
</div>
@endforeach
<form>
{!!Form::close()!!}
</div>
Aucun commentaire:
Enregistrer un commentaire