I am unable to insert HTML5 default date format(mm/dd/yyyy) in mysql(YYYY-mm-dd).Please help is there any way to insert the html5 date into mysql. Or is it possible to change the html5/mysql date format?
<?php
$name=$_POST['name'];
$email=$_POST['email'];
$password=$_POST['password'];
$gender=$_POST['gender'];
$bday=$_POST['bday'];
include('connect.php');
$y=mysql_query("insert into users values('$name','$email','$password','$gender','$bday')");
?>