start copy from cimac web

This commit is contained in:
2026-05-14 08:47:13 +02:00
commit dfc6ed40ae
3624 changed files with 899295 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
include('db-connect.php');
if (isset($_POST['certificationtype']) && isset($_POST['idtrf'])) {
$certificationtype = $_POST['certificationtype'];
$idtrf = $_POST['idtrf'];
// Correggi l'errore sintattico includendo i backtick intorno al nome della tabella
$query = "UPDATE `trf-details` SET `certificationtyped` = ? WHERE `idtrfdetails` = ?";
$stmt = $con->prepare($query);
$stmt->bind_param('ii', $certificationtype, $idtrf);
if ($stmt->execute()) {
echo "success"; // Risposta al client
} else {
echo "error"; // In caso di errore
}
}