Update login.php

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

View File

@@ -27,12 +27,9 @@
</div>
<button type="submit" class="btn btn-primary btn-block">Login</button>
</form>
</div>
</div>
</div>
</div>
</div>
<?php
<br>
<!-- php code to verify password-->
<?php
// Check if the form is submitted
if ($_SERVER["REQUEST_METHOD"] == "POST") {
//include db pw
@@ -82,6 +79,12 @@
$stmt->close();
$conn->close();
}
?>
?>
</div>
</div>
</div>
</div>
</div>
</body>
</html>