8 lines
199 B
PHP
8 lines
199 B
PHP
<?php
|
|
include "config.php";
|
|
|
|
$conn = new mysqli($mysqlServer, $mysqlUser, $mysqlPassword, $mysqlDatabase);
|
|
// Check connection
|
|
if ($conn->connect_error) {
|
|
die("Connection to database failed");
|
|
}
|