Update Project 1 database connection

This commit is contained in:
2026-06-10 18:40:42 +07:00
parent ee43cb4d83
commit 0ca1af7ede
2 changed files with 31 additions and 50 deletions
+9 -1
View File
@@ -1,7 +1,15 @@
<?php
$conn = new mysqli("localhost", "root", "", "webgis1");
$conn = new mysqli(
"hwgkkcogkwoscgk40k4004sc",
"mysql",
"w6YvCvUsgAzLUzBconwVAix9nLoxHYv5rWo0VPJCSDfM8fuE4cT2NoUzxvO22OdH",
"default"
);
if ($conn->connect_error) {
die("Koneksi gagal: " . $conn->connect_error);
}
$conn->set_charset("utf8mb4");
?>