First commit - original von Klaus

This commit is contained in:
rxf
2025-10-01 16:54:48 +02:00
commit cf1cd713a2
9 changed files with 1376 additions and 0 deletions

18
db_connection.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
$host_name = '';
$database = '';
$user_name = '';
$password = '';
$link = new mysqli($host_name, $user_name, $password, $database);
if ($link->connect_error) {
die('<p>Verbindung zum MySQL Server fehlgeschlagen: '. $link->connect_error .'</p>');
}
?>