<?php
$host = "localhost";
$username = "root";
$password = "";
$database = "dummy_db";

$conn = new mysqli($host, $username, $password, $database);
if(!$conn){
    echo "Database connection failed. Error:".$conn->error;
    exit;
}
?>