From f818075cbee6b054056bc5701d47521b9d557ff2 Mon Sep 17 00:00:00 2001
From: Rujira Thongklung <65160015@go.buu.ac.th>
Date: Wed, 19 Feb 2025 18:19:15 +0700
Subject: [PATCH] Edit index db

---
 index.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.php b/index.php
index 6804f7d..366a5e9 100644
--- a/index.php
+++ b/index.php
@@ -18,9 +18,10 @@
 $servername = "db";
 $username = "demo";
 $password = "Noon+020347";
+$dbname = "demo";
 
 
-$conn = new mysqli($servername, $username, $password);
+$conn = new mysqli($servername, $username, $password, $dbname);
 
 // Check connection
 if ($conn->connect_error) {
-- 
GitLab