22 lines
459 B
PHP
22 lines
459 B
PHP
<?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");
|
|
}
|
|
?>
|