ohctech_p8/del_hyg_param.php
Dushant Mali 899fb3e65a Upgrade 7 to 8
Upgrade 7 to 8
2024-11-02 18:03:13 +05:30

19 lines
402 B
PHP

<?php
include('includes/config/config.php');
$query="";
if(!empty($_REQUEST['item_id'])){
$query = " delete from emp_hyg_check_items where id = '".$_REQUEST['item_id']." ' ";
// echo $query;
if (!$result = @mysqli_query($conn,$query)) {
die(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>