<?php
// File: admin/hapus_keunggulan.php
session_start();
if (!isset($_SESSION['admin'])) {
  header("Location: login.php");
  exit;
}

include '../config/koneksi.php';

if (isset($_GET['id'])) {
  $id = $_GET['id'];
  mysqli_query($conn, "DELETE FROM section_keunggulan WHERE id = $id");
}

header("Location: section_keunggulan.php");
exit;
