<?php 
session_start();
include 'dbc.php';

date_default_timezone_set("Asia/Karachi");

$userid=$_SESSION["userid"];
$status=$_POST["status"];

$class_name=$_POST["class_name"];
$date=$_POST["date"];
$month_name=$_POST["month_name"];
$sess1=$_POST["sess1"];
  $sql = "delete from activity where class_name='$class_name' and date='$date'";
$conn->query($sql);
  
  

echo "Activity Delete Sucessfully";

?>
<a href="Genrate_Activites.php">Back</a>