<?php
    $servername="localhost";
    $username="usr";
    $password="admin@1224";
    $dbname="main_bpitattendance_db";

    $con = mysqli_connect($servername,$username,$password,$dbname) or die(myslq_error());
?>