<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

echo "PHP: " . PHP_VERSION . "<br>";
echo "mysqli loaded: " . (extension_loaded('mysqli') ? "YES" : "NO") . "<br><br>";

$host = "localhost";
$user = "mhsg3183_loundry";
$pass = "mhsg3183_loundry123";
$db   = "mhsg3183_loundry";

$conn = mysqli_connect($host, $user, $pass, $db);
if (!$conn) {
    die("CONNECT ERROR: (" . mysqli_connect_errno() . ") " . mysqli_connect_error());
}
echo "CONNECTED OK. Server: " . mysqli_get_server_info($conn);
