| 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/mmit_shamli/admin/ |
Upload File : |
<?php
$id=$_REQUEST['id'];
//echo $id;
include("connection.php");
$q1="select pic from tbl_press where press_id='$id'";
$resg=mysqli_query($dbCon,$q1);
$rowg=mysqli_fetch_array($resg);
unlink('press/'.$rowg['pic']);
$query="delete from tbl_press where press_id='$id'";
mysqli_query($dbCon,$query);
header("Location:p_viewimages.php");
?>