5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-12 13:01:30 +01:00
jensmemes/website-neu/dbcon.php

15 lines
402 B
PHP
Raw Normal View History

2020-07-21 23:00:11 +02:00
<?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();
}
?>