<?php

$conn = new mysqli("localhost","root","","erp");

if($conn->connect_error){
    die("DB Error");
}

?>