8 lines
219 B
PHP
8 lines
219 B
PHP
<?php
|
|
|
|
$conn = new mysqli($mysqlServer, $mysqlUser, $mysqlPassword, $mysqlDatabase);
|
|
// Check connection
|
|
if ($conn->connect_error) {
|
|
|
|
header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500);
|
|
}
|