Path : /home/phaetpan/domains/phaetpanya.com/public_html/vibharamadmin/ |
Current File : /home/phaetpan/domains/phaetpanya.com/public_html/vibharamadmin/deleteedit_banner5.php |
<html> <body> <?php include("connect.php"); $img5 = $_GET["img5"]; $img = null; $picDelete = unlink("../upload_file/$img5"); $strSQL = "UPDATE home_banner SET img5 = '".$img."' WHERE banner_id = '".$_GET["banner_id"]."'"; $objQuery = mysqli_query($objCon,$strSQL); ?> </body> <script type='text/javascript'> window.location.href = "edit_banner.php?banner_id=<?php echo $_GET["banner_id"];?>" </script> </html>