i am new in php. the problem is....
mysql date formate is yyyy-mm-dd and in php form date field format shows mm-dd-yyyy (with calander)
i just want php form field should also show date format as yyyy-mm-dd
the date field in php form is as below
in mysql the type of filed "date" is date.