Initial Commit

This commit is contained in:
Yannic 2025-09-25 17:35:18 +02:00
commit 9ad6876181
5 changed files with 786 additions and 0 deletions

12
db/bootstrap.php Normal file
View file

@ -0,0 +1,12 @@
<?php
$dbhost = "localhost";
$dbname = "library";
$dbuser = "root";
$dbpw = "";
try{
$pdo = new PDO("mysql:host=$dbhost; dbname=$dbname; charset=utf8", $dbuser, $dbpw);
}catch(PDOException $e){
die("Connection failed: " . $e->getMessage());
}
?>