<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="bootstrap-4.6.2-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
<h3 align="center">Student Login</h3>
    <div class="container"></div>
    <div class="row">
        <div class="col-lg-4"></div>
        <div class="col-lg-4">
            <form action="" method="post" >
                <div class="form-group">
                <input type="text" name="sname" class="form-control" placeholder="SurName" required><br>
                <input type="text" name="mtn" class="form-control" placeholder="Matric Number" required><br>
                <button type="submit" name="btn" class="btn-success">Login</button>
            </div>
            </form>
        </div>
        <div class="col-lg-4"></div>
    </div>
   
</body>
</html>
<?php
$db=mysqli_connect("localhost", "root","","login");
if(mysqli_connect_errno()){
    echo "erorr connecting to database".mysqli_connect_errno();
}
?>