<?php
 session_start();
  
?>

  
  <?php
				
				if (isset($_GET['id'])) {
					include 'config.php';
					$userid=$_GET['id'];
					$result = mysqli_query($mysqli, "delete from mapel where Idmapel=$userid ");
					header("location:mapel.php");
					
				}	
?>
              