memperbaiki koneksi database pada project 1 dan project 2

This commit is contained in:
powji17
2026-06-12 06:23:23 +07:00
parent 070ba54cf3
commit 3cc437bdf8
16 changed files with 32 additions and 120 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
header('Content-Type: application/json');
$conn = new mysqli("localhost", "root", "", "webgis"); // UBAH DB
require_once '../config.php';
$conn = getDB();
$sql = "SELECT * FROM jalan_polyline";
$result = $conn->query($sql);