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

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