changes, finishing later

This commit is contained in:
2025-10-02 09:45:24 +02:00
parent 7249325faf
commit f98f5a3c07
12 changed files with 40 additions and 14 deletions

11
htdocs/lib/db.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
$host = "<MYSQL_HOST>";
$user = "<MYSQL_USER>";
$pass = "<MYSQL_PASSWORD>";
$dbname = "school_timetable";
$conn = new mysqli($host, $user, $pass, $dbname);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>