-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheditinfo.php
More file actions
49 lines (48 loc) · 1.59 KB
/
editinfo.php
File metadata and controls
49 lines (48 loc) · 1.59 KB
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
42
43
44
45
46
47
48
49
<?php include('editserver.php') ?>
<!DOCTYPE html>
<html>
<head>
<title>Edit Info</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@800&family=Ubuntu:wght@300&display=swap"
rel="stylesheet">
</head>
<body>
<div class="header">
<h2>Edit info</h2>
</div>
<form method="post" action="editinfo.php">
<?php include('errors.php'); ?>
<!-- <div class="input-group">
<label>Username</label>
<input type="text" name="firstName" value="<?php echo $firstName; ?>">
</div> -->
<div class="input-group">
<label>Email</label>
<input type="email" name="email" value="<?php echo $email; ?>">
</div>
<div class="input-group">
<label>Mobile No.</label>
<input type="mobile" name="mobile" value="<?php echo $mobile; ?>">
<!-- </div>
<div class="input-group">
<label>Student ID</label>
<input type="sid" name="sid" value="<?php echo $sid; ?>">
</div> -->
<div class="input-group">
<label>Password</label>
<input type="password" name="password_1" pattern = "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}" title = "Must contain at least one number and one uppercase and lowercase letter, and at least 6 or more characters" required>
</div>
<div class="input-group">
<label>Confirm password</label>
<input type="password" name="password_2">
</div>
<div class="input-group">
<button type="submit" class="btn" name="reg_user">Edit</button>
</div>
<!-- <p>
Already a member? <a href="login.php">Sign in</a>
</p> -->
</form>
</body>
</html>