Conversione da MySQLi a PDO - pt. 4
All checks were successful
Deploy / trigger (push) Successful in 2s

This commit is contained in:
2026-04-12 20:37:26 +02:00
parent 214d13ccc6
commit 7e82049d57

View File

@@ -67,7 +67,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Collegamento al DB effettuato, ora facciamo l'inserimento // Collegamento al DB effettuato, ora facciamo l'inserimento
$insert = "INSERT INTO attori (nome, cognome, data_nascita) VALUES (':nome',':cognome', ':data')"; $insert = "INSERT INTO attori (nome, cognome, data_nascita) VALUES (:nome, :cognome, :data)";
$stmt = $pdo->prepare($insert); $stmt = $pdo->prepare($insert);
$stmt->execute([ $stmt->execute([