Mysql
 sql >> Database >  >> RDS >> Mysql

Inserimento del valore della data in MySQL tramite PHP

$query = "insert into details values ($firstName,$middleName,$lastName,STR_TO_DATE($dob,'%Y/%m/%d'),$address,$mobileNumber,$email, $password)";