<?php
// dbcon.php

$host = "localhost";      // Database host (usually localhost)
$user = "root";           // Database username
$pass = "";               // Database password
$dbname = "db_bmglobalexports";  // Your database name

// Create connection
$conn = mysqli_connect($host, $user, $pass, $dbname);

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

// Optional: set charset to UTF-8
mysqli_set_charset($conn, "utf8");

?>

