2020-07-30 18:36:57 +02:00
|
|
|
<?php
|
|
|
|
|
2020-08-02 20:12:20 +02:00
|
|
|
date_default_timezone_set('UTC');
|
|
|
|
|
2023-03-26 09:17:06 +02:00
|
|
|
$db_server = "mariadb";
|
|
|
|
$db_user = "root";
|
|
|
|
$db_passwd = "g0r@w@";
|
2021-10-27 15:01:27 +02:00
|
|
|
|
2021-10-17 10:07:05 +02:00
|
|
|
$db = "unfallstatistik";
|
|
|
|
|
|
|
|
try {
|
|
|
|
$db = new PDO('mysql:host='.$db_server.';dbname='.$db.';charset=utf8mb4', $db_user, $db_passwd);
|
|
|
|
} catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();}
|