<?php
	session_start();
	if($_SESSION['subadm'])
	{
		$userid=1111;
	}
	else
	{
		header('location:../login.php');
	}
?>
<?php
    include'connection.php';
    
    $updateStatus="update Auto_Failed set Status='Deactive' where Id='1'";
    if(mysqli_query($con,$updateStatus))
    {
        header('location:admin.php');
    }


?>