5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-14 14:01:55 +01:00
jensmemes/website/dbcon.php
2020-07-22 15:27:17 +02:00

14 lines
402 B
PHP

<?php
$SQLHost = "db.a-hoefler.eu";
$SQLUser = "root";
$SQLPasswort = "bqCdUHZYgHeTd583kZ3cMVd9";
$SQLDatenbank = "jensmemes";
$con = mysqli_connect($SQLHost, $SQLUser, $SQLPasswort, $SQLDatenbank);
// Check connection
if (mysqli_connect_errno())
{
echo "<b style='color: #9c4b4b; text-decoration: underline;'>Failed to connect to <i >" .$SQLHost."</i> </b> :: " . mysqli_connect_error();
}
?>