<?php
$host = "localhost";   // Database host
$user = "root";        // MySQL username
$pass = "";            // MySQL password
$dbname = "pos_db";    // Database name

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

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