prepare("UPDATE identificationparts SET hide = ? WHERE ididentificationparts = ?"); $stmt->bind_param("si", $newHide, $ididentificationparts); if ($stmt->execute()) { echo "Stato aggiornato con successo"; } else { echo "Errore: " . $stmt->error; } $stmt->close(); $conn->close(); } else { echo "Parametri mancanti"; }