Lachenzelg/dbcon.php

12 lines
350 B
PHP
Raw Permalink Normal View History

2025-01-07 03:02:25 +01:00
<?php
define('DB_SERVER',"localhost");
define('DB_USERNAME',"root");
define('DB_PASSWORD',"");
define('DB_DATABASE',"db_lachenzelg");
$conn = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
if(!$conn){
die("Verbindung zur Datenbank konnte nicht hergestellt werden: ". mysqli_connect_error());
}
?>