Limmat/config/dbcon.php

12 lines
346 B
PHP
Raw Permalink Normal View History

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