ohctech_p8/update_book_app.php
2024-10-16 19:18:52 +05:30

13 lines
351 B
PHP

<?php
include('includes/config/config.php');
include('includes/functions.php');
error_reporting(E_ERROR | E_PARSE);
$id = $_REQUEST['id'];
$app_type = $_REQUEST['app_type'];
$booking_id = '';
if (!empty($id)) {
$booking_id = updateBookedAppointment($app_type, $_POST['emp_id'], $_POST['checkdown_date'], $id);
}
echo json_encode($booking_id);
?>