change to SQL
This commit is contained in:
parent
e797580812
commit
f66bfa7d51
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue