I'm getting a date from the database and displaying it in a input
field in HTML.
However, for the client to be able to edit as a date, I need it to be in an input type="date". However, there seems to be some HTML5 restriction on this type of input.
How would I be able to insert this data into the input I want?
Example of my code:
<input type="date" class="form-control" name="" id="" value="<?=$data;?>" disabled >