<?php

// Database configuration parameters
$host = 'localhost'; // or the IP address of your database server
$username = 'wwwedube_dharani'; // your database username
$password = '(*$)*@TECHno@4062'; // your database password
$database = 'wwwedube_DRMC'; // your database name

// Create a MySQLi connection
$conn = new mysqli($host, $username, $password, $database);

// Check the connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}

// Set the charset to utf8mb4 for full Unicode support
$conn->set_charset("utf8mb4");

// Optionally, you can enable error reporting for MySQLi
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);

// Use this global connection for your queries in other scripts
?>