0) { $db = getDB(); $stmt = $db->prepare("DELETE FROM users WHERE id = ?"); $stmt->execute([$id]); } header('Location: list.php?deleted=1'); exit;