<?php
date_default_timezone_set("Asia/Calcutta");

// Database credentials
$host = "localhost";
$username = "uzx1egl6mvonn";
$password = "wfcdg8d9esqn";
$database = "dbpwyq3swetihg";

// Establish connection
$con = mysqli_connect($host, $username, $password, $database);

// Check connection
if (!$con) {
    error_log("Failed to connect to MySQL: " . mysqli_connect_error());
    die('Internal server error');
}

// Optional: Set charset to avoid encoding issues
mysqli_set_charset($con, "utf8mb4");
?>
