adding some code

This commit is contained in:
Janis Steiner
2024-06-17 21:11:22 +01:00
parent f21470776c
commit 0aaa1964fb
5 changed files with 443 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
$DB_SERVER='sys0-db';
$DB_USERNAME='root';
$DB_PASSWORD='1234';
$DB_DATABASE='sys0_db';
/* Attempt to connect to MySQL database */
$conn = new mysqli($DB_SERVER, $DB_USERNAME, $DB_PASSWORD);
// Check connection
if($conn === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
?>