Update profile.php
This commit is contained in:
@@ -22,18 +22,19 @@ $email = $_SESSION["email"];
|
|||||||
<title>Profile</title>
|
<title>Profile</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h4>Your Profile</h4>
|
<h4>Your Profile (<?php echo($username); ?>)</h4>
|
||||||
<h5><?php echo($username); ?></h5>
|
<div class="card-body">
|
||||||
<form action="profile.php" method="post">
|
<form action="profile.php" method="post">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="username">Username:</label>
|
<label for="username">Username:</label>
|
||||||
<input type="text" class="form-control" id="username" name="username" value="<?php echo($username); ?>" required>
|
<input type="text" class="form-control" id="username" name="username" value="<?php echo($username); ?>" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="email">Email:</label>
|
<label for="email">Email:</label>
|
||||||
<input type="email" class="form-control" id="email" name="email" value="<?php echo($email); ?>" required>
|
<input type="email" class="form-control" id="email" name="email" value="<?php echo($email); ?>" required>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary btn-block">Update</button>
|
<button type="submit" class="btn btn-primary btn-block">Update</button>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user