Update login.php

This commit is contained in:
jakani24
2024-01-14 15:30:30 +01:00
parent 10b05bb273
commit ad5586e7a2

View File

@@ -27,11 +27,8 @@
</div> </div>
<button type="submit" class="btn btn-primary btn-block">Login</button> <button type="submit" class="btn btn-primary btn-block">Login</button>
</form> </form>
</div> <br>
</div> <!-- php code to verify password-->
</div>
</div>
</div>
<?php <?php
// Check if the form is submitted // Check if the form is submitted
if ($_SERVER["REQUEST_METHOD"] == "POST") { if ($_SERVER["REQUEST_METHOD"] == "POST") {
@@ -83,5 +80,11 @@
$conn->close(); $conn->close();
} }
?> ?>
</div>
</div>
</div>
</div>
</div>
</body> </body>
</html> </html>