From f66bfa7d51308a8c27776ab5fa5dfa92575da890 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Wed, 15 Feb 2023 13:55:01 +0100 Subject: [PATCH] change to SQL --- dataCollector/dataCollector.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dataCollector/dataCollector.php b/dataCollector/dataCollector.php index 25d590e..cf831ca 100644 --- a/dataCollector/dataCollector.php +++ b/dataCollector/dataCollector.php @@ -22,6 +22,8 @@ $conn = new mysqli($databaseAddress, $databaseUser, $databasePassword, $database // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); +} else { + echo "connection sucessful
"; } function saveToDatabase($contentArray, $conn) {