Initial commit WebGIS Poverty Mapping

This commit is contained in:
SatryaIrvannurYudha
2026-06-04 21:28:53 +07:00
commit fdf1e36cd3
18 changed files with 1333 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
include 'koneksi.php';
if (isset($_GET['id'])) {
$id = mysqli_real_escape_string($conn, $_GET['id']);
$query = "DELETE FROM spbu WHERE id='$id'";
if (mysqli_query($conn, $query)) {
header("Location: index.php?status=terhapus");
} else {
echo "Gagal menghapus: " . mysqli_error($conn);
}
}
?>