Einchecken des Online-Codes
This commit is contained in:
8
admin/inc/database.php
Normal file
8
admin/inc/database.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
// Verbindung zu MySQL Aufbauen
|
||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||
if (mysqli_connect_errno()) {
|
||||
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: '.mysqli_connect_error());
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user