21 lines
451 B
PHP
21 lines
451 B
PHP
<?php
|
|
include('includes/config/config.php');
|
|
include('log_entry.php');
|
|
// error_reporting(E_ERROR | E_PARSE);
|
|
|
|
$appointment_id=$_REQUEST['appointment_id'];
|
|
$query="";
|
|
if(!empty($appointment_id)){
|
|
$query="delete from appointment_management_list where appointment_id=$appointment_id" ;
|
|
|
|
if (!$result = @mysqli_query($conn,$query)) {
|
|
exit(error_log(mysqli_error()));
|
|
echo json_encode("FAILURE");
|
|
}else{
|
|
echo json_encode("SUCCESS");
|
|
}
|
|
|
|
}
|
|
|
|
?>
|