-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdateDetails.php
23 lines (19 loc) · 944 Bytes
/
updateDetails.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
include("includes/includedFiles.php");
?>
<div class="userDetails">
<div class="container borderBottom">
<h2>EMAIL</h2>
<input type="text" class="email" name="email" placeholder="Email address..." value="<?php echo $userLoggedIn->getEmail() ?>">
<span class="message"></span>
<button class="button" onclick="updateEmail('email')">SAVE</button>
</div>
<div class="container borderBottom">
<h2>PASSWORD</h2>
<input type="password" class="oldPassword" name="oldPassword" placeholder="Current Password">
<input type="password" class="newPassword1" name="newPassword1" placeholder="New Password">
<input type="password" class="newPassword2" name="newPassword2" placeholder="Confirm Password">
<span class="message"></span>
<button class="button" onclick="updatePassword('oldPassword','newPassword1','newPassword2')">SAVE</button>
</div>
</div>