<?php 
// Database  Details  
$hostname = "localhost";
$username = "mspthost_printfast";
$password = "mspthost_printfast";
$database = "mspthost_printfast";

$ahk_conn = mysqli_connect($hostname,$username,$password,$database);

if(!$ahk_conn){
    include('links.php');
   ?>
   <script>
    $(function(){
        Swal.fire(
            'Opps',
            'Dadatabase Connection Failed',
            'error'
        )
    })
   </script>
   <?php
}