5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-05-17 19:13:48 +02:00

Created dbcon.php

This commit is contained in:
ITbyHF 2020-08-02 19:08:54 +02:00 committed by GitHub
parent 13c3f0bf11
commit 268566044d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
website/dbcon.php Normal file
View file

@ -0,0 +1,11 @@
<?php
include "config.php";
$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();
}
?>