-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdateDetails.php
26 lines (20 loc) · 978 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
24
25
26
<?php
include("includes/includedFiles.php");
?>
<div class="userDetails">
<div class="container borderBottom">
<h2>EMAIL</h2>
<input type="text" name="email" class="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">
<h2>Password</h2>
<input type="password" name="oldPassword" class="oldPassword" placeholder="Current Password">
<input type="password" name="newPassword1" class="newPassword1" placeholder="New Password">
<input type="password" name="newPassword2" class="newPassword2" placeholder="Confirm Password">
<span class="message"></span>
<button class="button" onclick="updatePassword('oldPassword','newPassword1','newPassword2')">SAVE</button>
</div>
</div>