<?php
include_once('shikanisha.kts.php');


// Get the product ID from the POST data
$product_id = $_POST['product_id'];

// Delete the product from the database
$sql = "DELETE FROM products WHERE product_id = ?";
$stmt = $conn->prepare($sql);
$stmt->bind_param('i', $product_id);
$stmt->execute();
$stmt->close();

// Close the database connection
$conn->close();
?>
