-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangeDate.php
26 lines (24 loc) · 839 Bytes
/
changeDate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
require 'connection.php';
require 'entities/appointments.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reschedule Appointment</title>
<link rel="stylesheet" href="styles/changeDate.css">
</head>
<body>
<main>
<h1>Reschedule Appointment</h1>
<form action="booking_reschedule.php" method="POST">
<label for="appointment_date">New Appointment Date</label>
<input type="date" id="appointment_date" name="appointment_date" required>
<input type="text" style="display: none;" name="appointment_id" value="<?php echo $_POST['appointment_id']; ?>"/>
<button type="submit">Reschedule</button>
</form>
</main>
</body>
</html>