| Current Path : /home2/wtmwscom/public_html/admin/ |
| Current File : /home2/wtmwscom/public_html/admin/delete_product.php |
<?php
$title = "Delete Product";
include 'header.php';
?>
<?php
if( isset($_GET['pid']) && !empty ($_GET['pid'])){
$pid = $_GET['pid'];
$is_delete = mysqli_query($connection, "delete from product where pid = $pid");
redirect("product_list.php");
}
?>