change to SQL
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user