ESH/checkup_parameter_group_delete.php

16 lines
362 B
PHP
Raw Permalink Normal View History

2024-10-23 18:28:06 +05:30
<?php
include('includes/config/config.php');
$query="";
if(!empty($_REQUEST['flex_unit_id'])){
$query = " delete from checkup_parameter_group where group_id = '".$_REQUEST['flex_unit_id']." ' ";
if (!$result = @mysqli_query($conn,$query)) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}