<?php
// Database configuration
$host = "localhost";       // Usually localhost
$db_name = "wonder_lanka"; // Your database name
$username = "root";        // Your MySQL username
$password = "";            // Your MySQL password

// Create connection
$conn = new mysqli($host, $username, $password, $db_name);

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

// Optional: set charset to UTF-8
$conn->set_charset("utf8");
?>
