<?php
include ("config.php");
if (isset($_GET['id'])){
$id = $_GET['id'];
$sql ="DELETE FROM calon_siswa WHERE id = $id";
$query = mysqli_query($conn,$sql);
if ( $query ) {
header('location: list-siswa.php');
}
} else {
die ("Akses Tidak dikenali!");
}
?>
Post a Comment