generated from francesco/deploy-dinamico
Conversione da MySQLi a PDO - pt. 4
All checks were successful
Deploy / trigger (push) Successful in 2s
All checks were successful
Deploy / trigger (push) Successful in 2s
This commit is contained in:
@@ -67,7 +67,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
// 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->execute([
|
||||
|
||||
Reference in New Issue
Block a user