troppe modifiche, non so cosa scrivere

This commit is contained in:
2025-10-02 11:54:59 +02:00
parent f68162b80b
commit d405a0e21c
16 changed files with 153 additions and 73 deletions

View File

@@ -1,8 +1,9 @@
<?php
$host = "<MYSQL_HOST>";
$user = "<MYSQL_USER>";
$pass = "<MYSQL_PASSWORD>";
$dbname = "school_timetable";
include_once __DIR__ . '/../config/config.php';
$host = DB_HOST;
$user = DB_USER;
$pass = DB_PASS;
$dbname = DB_NAME;
$conn = new mysqli($host, $user, $pass, $dbname);
if ($conn->connect_error) {