I am saving date of birth in MySQLusing my form with
db->insert()
method, but it's not properly inserted in the database. How can I save the input field value in the proper date format in MySQL? (In MySQL the type of dob is also set to "DATE".)
I am saving date of birth in MySQLusing my form with
db->insert()
method, but it's not properly inserted in the database. How can I save the input field value in the proper date format in MySQL? (In MySQL the type of dob is also set to "DATE".)