prepare('DELETE FROM stages WHERE id = ?'); $stmt->execute([(int)($_POST['id'] ?? 0)]); header('Location: index.php');