DayZ-Stat-Server/consql.php
2021-02-02 17:05:03 +01:00

29 lines
634 B
PHP

<?php
$servdb = "";
$userdb = "";
$pdb = "";
$dbname = "";
$table = "StatServer_1";
$StatServer = $table;
$con = new mysqli($servdb, $userdb, $pdb, $dbname);
if ($con->connect_error) {
// echo (" SQL not active <font color=orange> // Function not ready yet </font> ");
echo ("<font color=red> ...Connection failed with MYSQL </font><br>");
echo $servdb; echo "<br>";
echo $userdb; echo "<br>";
echo $table; echo "<br>";
// die("Connection failed: " . $con->connect_error);
}
else
{
// echo ("Connect Successfully");
}
?>