<?php

$host = "localhost";
$dbname = "lasitava_db";
$dbUsername = "root";
$password = "";

$mysqli = new mysqli(hostname: $host, 
                     username: $dbUsername,
                     password: $password, 
                     database: $dbname);

if ($mysqli->connect_errno) {
    die("Connection error: " . $mysqli->connect_error);
}

return $mysqli;