laravel - htmlentities() expects parameter 1 to be string, array given, i have tried everything -
this blade file code-
<select name="edu_name[]" class="form-control input-md" onchange="choosecontact(this)"> <option selected="true" style="display:none;">select degree</option> @foreach ($objmastereducation $dropdown) <option value="{{$dropdown->id}}" class="form-control">{{$dropdown->edu_name}}</option> @endforeach </select> </div> </div> </div> <div class="row-fluid"> <div class="col-sm-4"> <div class="form-group"> <input type="text" name="institute[]" id="institute" class="form-control input-md" placeholder="institute" tabindex="1" value="{{ old('institute') }}"> </div> </div> </div> <div class="row-fluid"> <div class="col-sm-2"> <div class="form-group"> <input type="text" name="from_year[]" id="from_year" class="form-control input-md" placeholder="from year" tabindex="1" value="{{ old('from_year') }}"> </div> </div> </div> <div class="row-fluid"> <div class="col-sm-2"> <div class="form-group"> <input type="text" name="to_year[]" id="to_year" class="form-control input-md" placeholder="to year" tabindex="1" value="{{ old('to_year') }}"> </div> </div> </div> <div class="row-fluid"> <div class="col-sm-2"> <div class="form-group"> <input type`=`"text" name="percentage[]" id="percentage" class="form-control input-md" placeholder="percentage" tabindex="1" value="{{ old('percentage') }}"> </div> </div>
....its giving error in request file have tried not saving multiple data database except first row of form field
Comments
Post a Comment