5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-12 13:01:30 +01:00
jensmemes/website/dbcon.php
2020-07-21 23:07:16 +02:00

14 lines
378 B
PHP

<?php
$SQLHost = "db.a-hoefler.eu";
$SQLUser = "root";
$SQLPasswort = "";
$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();
}
?>