finalizzazione del progetto

This commit is contained in:
2026-04-10 05:16:11 +02:00
parent 00e81f9da4
commit ba1717cbb6
24 changed files with 1650 additions and 389 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
require 'db.php';
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$data_partita = $_POST['data_partita'];
$score1 = $_POST['score1'];
$score2 = $_POST['score2'];
$scoreT = $_POST['scoreT'];
$nome = $_POST['nome'];
$stmt = $conn->prepare("INSERT INTO punteggi_test (data_partita, score1, score2, scoreT, nome) VALUES (?, ?, ?, ?, ?)");
$stmt->bind_param("siiis", $data_partita, $score1, $score2, $scoreT, $nome);
$stmt->execute();
$stmt->close();
}
?>