i have a field from my database which is start/end date sample fields is
sample field
start_date | end_date
2017-04-19 | 2017-04-23
what i want to do is to display this data to my:
<input type="date" name= "start_date" value="<?php echo $value['start_date']?>">
but what happen is it doesn't display anything... i tried to use
<input type="date" name= "start_date" value="<?php echo date('Y-m-d',strtotime($value["start_date"]))?>">
but it displays a different date which is not from my database.. any suggestion to display the date data from my db to the input type="date" ??