mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-11-24 23:33:04 +01:00
Add configuration, order processing, and item retrieval functionality
This commit is contained in:
1 parent
07373c8fea
commit
8272c1a95f
19 files changed
+327
-232
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$servername = "localhost:3306";
|
||||
$username = "database";
|
||||
$password = "13cAv?i52";
|
||||
$dbname = "schoolkantine";
|
||||
$port = 3306; // Specify the port
|
||||
|
||||
// Create connection
|
||||
$conn = new mysqli($servername, $username, $password, $dbname, $port);
|
||||
|
||||
// Check connection
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user