Add configuration, order processing, and item retrieval functionality

This commit is contained in:
vista-man
2025-02-26 09:53:42 +01:00
parent 07373c8fea
commit 8272c1a95f
19 changed files with 327 additions and 232 deletions

15
website/config.php Normal file
View File

@@ -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);
}
?>