<?php

$host = "localhost";
$user = "root";
$pass = "";
$dbname = "survey_system";

$conn = mysqli_connect(
    $host,
    $user,
    $pass,
    $dbname
);

if(!$conn)
{
    die("Database Connection Failed : "
        . mysqli_connect_error());
}
?>