<?php
$host = "localhost";      // Database host (keep this as localhost)
$user = "root";           // Database username (default is root for WAMP)
$password = "";           // Database password (leave empty for WAMP)
$dbname = "art_exhibition"; // Database name (change if your DB has a different name)

$conn = new mysqli($host, $user, $password, $dbname);

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