I'm doing a simple program to store birthdays. I'm trying to save a DATE in my database but the saved data in my BIRTHDAY column is:
my code is:
$SQL="INSERT INTO employee (employeeID, employeename, Address, Birthday) VALUES ('".$empID."','".$empname."','".$address."', '".$bday."')";
I simply chose the Date/Time format in my database.
I tried to apply $bday = date($bday, "m/d/y") but it didn't work.
Please show me what is wrong with my code.
Thanks for the help and more power.