<?php
$host = 'localhost';
$user = 'root';
$password = '';
$database = 'association';

// Create connection
$conn = new mysqli($host, $user, $password, $database);

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

// Optional: Set charset to avoid charset issues
// $conn->set_charset('utf8mb4');
?>
