Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Inserindo valor de data no MySQL através do PHP

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