Add auto-import DB script and update connection fallback

This commit is contained in:
Nama Kamu
2026-06-11 14:30:22 +07:00
commit 2aa30691f1
44 changed files with 8042 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
ob_start();
include 'koneksi.php';
ob_clean();
$id = $conn->real_escape_string($_POST['id'] ?? '');
$query = "DELETE FROM spbu WHERE id='$id'";
if ($conn->query($query)) {
echo "success";
} else {
echo "error";
}
?>