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

21 lines
450 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)) {
die(error_log(mysqli_error()));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>