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


$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
}