<?php
// _serveur.php — Database connection only, no headers
$host = "localhost";
$user = "stjoseph_john";
$password = "John521889!";
$database = "stjoseph_miniara";
$link = mysqli_connect($host, $user, $password, $database);
if (!$link) {
    die(json_encode(['ok' => false, 'error' => 'DB: ' . mysqli_connect_error()]));
}

mysqli_set_charset($link, "utf8mb4");
