// Enable error reporting for debugging
error_reporting(E_ALL);
ini_set('display_errors', 1);

// Define database connection parameters
define('DBHOST', 'localhost');
define('DBUSER', 'dvsvigov_vacc');
define('DBPASS', 'DVSvacdos123');
define('DBNAME', 'dvsvigov_vacdos');

// Connect to the database using MySQLi
$conn = mysqli_connect(DBHOST, DBUSER, DBPASS, DBNAME);

// Check connection
if (!$conn) {
    die("Connection failed: " . mysqli_connect_error());
}

// No need for a separate select_db call; it's included in mysqli_connect
