website/internal/mysql.php

9 lines
199 B
PHP
Raw Normal View History

2020-10-13 17:11:32 +02:00
<?php
include "config.php";
$conn = new mysqli($mysqlServer, $mysqlUser, $mysqlPassword, $mysqlDatabase);
// Check connection
if ($conn->connect_error) {
die("Connection to database failed");
}