How can i insert date into mysql database which has column DOB- ‘date’ as its datatype, from web form which has field named DateOfBirth which also has input type=“date” using php. Formats for both are different.
So how can i insert the correct date to mysql database.
Please help. I am stuck.