2
0

change directorys for KA2 in LBT3

This commit is contained in:
2026-05-20 13:33:22 +02:00
parent ad8114a31b
commit 810a541924
6 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
// DANIEL CWIKLA
function db_connect() {
require_once "db_connection.php";
$db_server = "$db_engine:dbname=$db_name;host=$db_host";
try {
$dbh = new PDO($db_server, $db_user, $db_password);
echo "<p>DB Connected</p>";
return $dbh;
}
catch(PDOException $e) {
die("<p>Error</p>");
}
}
?>