change to SQL

This commit is contained in:
schrom01 2023-02-15 13:55:01 +01:00
parent e797580812
commit f66bfa7d51
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ $conn = new mysqli($databaseAddress, $databaseUser, $databasePassword, $database
// Check connection // Check connection
if ($conn->connect_error) { if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error); die("Connection failed: " . $conn->connect_error);
} else {
echo "connection sucessful<br>";
} }
function saveToDatabase($contentArray, $conn) { function saveToDatabase($contentArray, $conn) {