<?php
$servername = "localhost";
$username = "haqpxpax_haq_attendance"; 
$password = "Khan(1122)@"; 
$dbname = "haqpxpax_haq_attendance"; 

$conn = new mysqli($servername, $username, $password, $dbname);

// اردو فانٹ کو درست دکھانے کے لیے یہ لائن ضروری ہے
$conn->set_charset("utf8mb4");

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