DayZ-Stat-Server/consql.php

19 lines
424 B
PHP
Raw Normal View History

2021-01-31 13:16:02 +01:00
<?php
$servdb = "";
$userdb = "";
$pdb = "";
$dbname = "";
$con = new mysqli($servdb, $userdb, $pdb, $dbname);
if ($con->connect_error) {
die("Connection failed: " . $con->connect_error);
}
else
{
//echo ("Connect Successfully");
}
// $query = "SELECT date, numplayers FROM StatServer"; // select column
// $aresult = $con->query($query);
?>