<?php 
include('session.php');
$id = $_GET['id'];
$delete = $conn->query("UPDATE admin SET status='0' WHERE id=".$id);
if($delete){
	echo '<script>alert("Data updated Successfully");window.location="super.php"</script>';
} else {
	echo '<script>alert('.$conn->error.');window.location="super.php"</script>';
}
?>