4
I have a form which has a field where the user’s date of birth is entered, this field has a datepicker
which already returns the date in year,month,day format, this date is accessed through $_GET['birthdate']
its format is string, then my question is how to insert it into the database? I have to assign this date to an intermediate object?
I think this has probably been answered in a number of different ways: http://answall.com/q/26968/101 http://answall.com/q/40262/101 http://answall.com/q/40731/101 http://answall.com/search?q=php+format+data
– Maniero
Hello bigown, I checked the links what worries me most is the format of the date that has this format: 1980/01/13, which modification should be made to insert it in mysql and how would do
– Ricardo
This is one of the formats accepted by Mysql, are you experiencing a problem? http://dev.mysql.com/doc/refman/5.6/en/date-and-time-literals.html
– Maniero
should I switch to some special type of php or I can insert it directly into the string form?
– Ricardo