| Server IP : 50.63.8.194 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB026 10.0 build 17763 (Windows Server 2016) AMD64 User : IWPD_7824(SpiPanel) ( 0) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/admin/ |
Upload File : |
<?php
include 'connection.php';
$id=$_REQUEST['id'];
//echo $id;
$query1="select * from tbl_rag where rag_id='$id'";
//echo $query1;
//exit();
$res=mysqli_query($dbCon,$query1);
$row=mysqli_fetch_array($res);
//print_r($row);
//exit();
$status=$row['status'];
if($status=='N')
{
$query="update tbl_rag set status='Y' where rag_id=$id";
//echo $query;
//exit();
mysqli_query($dbCon,$query);
header("location:rag.php?Show on web");
}
if($status=='Y')
{
$query="update tbl_rag set status='N' where rag_id=$id";
//echo $query;
//exit();
mysqli_query($dbCon,$query);
header("location:rag.php?Not show");
}
?>