mirror of
https://github.com/JannikKoester/Tischverwaltung.git
synced 2026-01-09 14:20:08 +01:00
16 lines
276 B
PHP
16 lines
276 B
PHP
<?php
|
|
|
|
$servername = "localhost";
|
|
$username = "root";
|
|
$password = "";
|
|
$db = "calender";
|
|
|
|
// Create connection
|
|
$conn = new mysqli($servername, $username, $password,$db);
|
|
|
|
// Check connection
|
|
if ($conn->connect_error) {
|
|
die("Connection failed: " . $conn->connect_error);
|
|
}
|
|
|
|
?>
|