ESH/delete_checkup_mgmt.php

22 lines
459 B
PHP
Raw Permalink Normal View History

2024-10-23 18:28:06 +05:30
<?php
error_reporting(E_ERROR | E_PARSE);
include('includes/config/config.php');
$checkup_mgmt_id=$_REQUEST['checkup_mgmt_id'];
//echo $training_id;
if(!empty($checkup_mgmt_id)){
//update case
$query="delete from checkup_list_mgmt where checkup_mgmt_id='$checkup_mgmt_id'";
$result = @mysqli_query($conn,$query);
}
if (!$result) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}
else
{
echo json_encode("SUCCESS");
}
?>