From 1aea9e820fc58df1c7e8979f8bac4ecc6f0a9f33 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sun, 31 Jan 2021 21:28:04 +0100 Subject: [PATCH] first commit --- consql.php | 6 ++++-- index.php | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/consql.php b/consql.php index 2dc1372..4e1a49a 100644 --- a/consql.php +++ b/consql.php @@ -6,11 +6,13 @@ $table = "StatServer_20"; $StatServer = $table; + $con = new mysqli($servdb, $userdb, $pdb, $dbname); if ($con->connect_error) { - // die("Connection failed: " . $con->connect_error); - echo ("Connection failed with sql / need to set MYSQL"); + echo (" SQL not active // Function not ready yet "); +// echo (" ...Connection failed need to set MYSQL
"); + // die("Connection failed: " . $con->connect_error); } else { diff --git a/index.php b/index.php index 46f2d5d..3021bd9 100644 --- a/index.php +++ b/index.php @@ -430,7 +430,7 @@ $sec = "300";
- // not ready yet + SQL not active // Function not ready
@@ -519,7 +519,7 @@ $sec = "300";
Player last 24 hours
- need sql // not ready yet +