prepare("SELECT * FROM os WHERE id = ?"); $stmt->execute([$os_id]); $os = $stmt->fetch(PDO::FETCH_ASSOC); if (!$os) { echo "Système d'exploitation non trouvé."; exit; } } // Gérer la mise à jour de l'OS if ($_SERVER['REQUEST_METHOD'] === 'POST') { $operating_system = $_POST['operating_system']; $version = $_POST['version']; $architecture = $_POST['architecture']; $stmt = $pdo->prepare("UPDATE os SET operating_system = ?, version = ?, architecture = ? WHERE id = ?"); $stmt->execute([$operating_system, $version, $architecture, $os_id]); header("Location: os_management.php"); exit; } ?> Modifier Système d'Exploitation

Modifier Système d'Exploitation





Retour à la gestion des OS