12 lines
346 B
PHP
12 lines
346 B
PHP
<?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());
|
|
}
|
|
?>
|