-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathedit-profile.php
41 lines (32 loc) · 1.5 KB
/
edit-profile.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<?php
include __DIR__ . "./templates/header.php";
User::userDisplay();
?>
<body>
<h1 class="text-center mb-3">Need to update your details?</h1>
<div class="container text-center">
<div class="row">
<div class="col-lg-12">
<form action="./processes/process-update.php" method="post">
<div class="mb-3">
<label for="UpdateEmail" class="form-label">New Email</label>
<input type="email" name="UpdateEmail" class="form-control" id="UpdateEmail" value="<? ?>" required>
</div>
<div class="mb-3">
<label for="UpdateNumber" class="form-label">Contact Number</label>
<input type="tel" name="UpdateNumber" class="form-control" id="UpdateNumber" minlength="10" maxlength="11" required>
</div>
<div class="mb-3">
<label for="UpdateDob" class="form-label">Date of Birth</label>
<input type="date" name="UpdateDob" class="form-control" id="UpdateDob" required>
</div>
<button type="submit" name='Submit' class="btn btn-dark"><i>Update!</i></button>
</form>
</div>
</div>
</div>
<?php include __DIR__ . "/templates/footer.php"; ?>
</body>
</html>