korsygfhrfggfhfgfffgffg6655665dtggggggzangaiide
Elehhjhjjkjkfpf6df56fd65ffff
/
home2
/
apcagkk2
/
4msi.org
/
admin
/
Upload FileeE
HOME
<?php require_once '../config/connection.php'; session_start(); if(!isset($_SESSION["phoneno"])){ header("location:login.php"); } if(isset($_POST['submit'])) { $actid = $_POST['asts']; $query="UPDATE `ppt` SET `status`='Inactive' WHERE `spcl_id`='$actid' "; $execute=mysqli_query($conn,$query); header('Location: view_ppt.php'); } if(isset($_POST['upload'])) { $inacid = $_POST['ists']; $query3="UPDATE `ppt` SET `status`='Active' WHERE `spcl_id`='$inacid' "; $execute3=mysqli_query($conn,$query3); header('Location: view_ppt.php'); } ?>