dimanche 9 juin 2019

view date in three input field as day month & year in laravel

Well In Database Store dob as date format like m/d/y. I want Show On html Page In 3 differt Field Day field, Month field, Year Field. i Tried but Not working in laravel.please suggest me how can i display date in 3 diffrent field.

<div class="form-group clearfix">
  <label for="dob_month" class="sr-only">Month</label>
      <select name = "month" id="m" class="form-control" value=""/>
           <option value="">Month</option>      
            @for ($month = 1; $month <= 12 ; $month++)                  
            <option value = ""></option>                  
            @endfor
      </select>
</div>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire