Update profile.php

This commit is contained in:
jakani24
2024-01-15 16:51:37 +01:00
parent b77774e6ac
commit 2db806c8bc

View File

@@ -23,18 +23,27 @@ $email = $_SESSION["email"];
</head> </head>
<body> <body>
<h4>Your Profile (<?php echo($username); ?>)</h4> <h4>Your Profile (<?php echo($username); ?>)</h4>
<div class="card-body"> <div class="container mt-5">
<form action="profile.php" method="post"> <div class="row justify-content-center">
<div class="form-group"> <div class="col-md-6">
<label for="username">Username:</label> <div class="card">
<input type="text" class="form-control" id="username" name="username" value="<?php echo($username); ?>" required> <div class="card-header">
<h4>Your Profile (<?php echo($username); ?>)</h4>
</div>
<div class="card-body">
<form action="profile.php" method="post">
<div class="form-group">
<label for="username">Username:</label>
<input type="text" class="form-control" id="username" name="username" value="<?php echo($username); ?>" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" name="email" value="<?php echo($email); ?>" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Update</button>
</form>
</div>
</div> </div>
<div class="form-group"> </div>
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" name="email" value="<?php echo($email); ?>" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Update</button>
</form>
</div>
</body> </body>
</html> </html>