ESH/update_appointment.php
2024-10-23 18:28:06 +05:30

18 lines
388 B
PHP

<?php
include('includes/config/config.php');
include ('log_entry.php');
include ('includes/functions.php');
$query="update employee_appointment set appointment_type='O' where appointment_id='".$_POST['appoint']."'";
if (!$result = @mysqli_query($conn,$query)) {
error_log("Error updating case".mysqli_error($conn).". Error Query:".$query);
exit(mysqli_error($conn));
}
?>