Files
werwolfonline.eu/includes/includes.example.php
florian.lindenbauer 1cb65fe20d Create includes.example.php
Create includes.example.php as an example for includes.php
2021-12-30 16:51:13 +01:00

21 lines
489 B
PHP

<?php
$id = "id"; // Ihre ID zum MySQL Server
$pw = "pw"; // Passwort zum MySQL Server
$host = "localhost"; // Host ("localhost" oder "IP-Adresse")
$db = "werwolf"; // Name Ihrer Datenbank
$mysqli = new MySQLi(
$host,
$id,
$pw,
$db
);
if (mysqli_connect_errno()) {
/*printf(
"Can't connect to MySQL Server. Errorcode: %s\n",
mysqli_connect_error()
);*/
exit;
}
?>