lundi 2 juillet 2018

Show Checkbox as checked if value has in database in laravel 5.4

I have checkbox list that send user select to database with ajax,Now I Want to checked input if this value is in teach_years column of auth user.My Checkbox list input is here:

<div class="col-md-6">
   <label class="container container-input">0
      <input type="radio" dir="rtl" name="past" value="0">
       <span class="checkmark"></span>
   </label>
   <label class="container container-input">1-2
      <input type="radio" name="past" value="1-2years">
       <span class="checkmark"></span>
   </label>
</div>

How I Can do it?




Aucun commentaire:

Enregistrer un commentaire