Created
August 17, 2016 13:20
-
-
Save mhmoudsami/5760775d0eaafa58e09f5ceeb52b9fb2 to your computer and use it in GitHub Desktop.
HTML 5 Date input with default value php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // the date fromat must be Y-m-d | |
| <input type="date" value="<?php echo date("Y-m-d"); ?>"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment