<?php
$host = "localhost";
$user = "root";
$pass = "";
$db   = "company_db";

$conn = new mysqli($host, $user, $pass, $db);

if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
?>