Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (empty($error)) {
- $stmt = $dbh->prepare("INSERT INTO tagesroma(nome, cognome, indirizzo, civico, citta, prov)
- VALUES (:nome, :cognome, :indirizzo, :civico, :citta, :prov)");
- $stmt->bindParam(':nome', $nome);
- $stmt->bindParam(':cognome', $cognome);
- $stmt->bindParam(':indirizzo', $indirizzo);
- $stmt->bindParam(':civico', $civico);
- $stmt->bindParam(':citta', $citta);
- $stmt->bindParam(':prov', $prov);
- $stmt -> execute();
- } else {
- header("Location:tages.php?action=add");
- echo "MESSI is injured!!";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement