potresti provare a costruirla prima la data
e poi passareCodice PHP:$bday = $_POST['year']."-".$_POST['month']."-".$_POST['day'];
oppure direttamenteCodice PHP:$stmt->bindParam(':birthdate',$bday);
Codice PHP:$stmt->bindParam(':birthdate',$_POST['year']."-".$_POST['month']."-".$_POST['day']);

Rispondi quotando