This commit is contained in:
2026-06-10 19:26:40 +07:00
parent 02c8394972
commit 7e2d324c2e
49 changed files with 6334 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
include 'koneksi.php';
$id = $_POST['id'];
$tipe = $_POST['tipe'];
if($tipe=="jalan"){
$sql = "DELETE FROM jalan WHERE id='$id'";
}else{
$sql = "DELETE FROM tanah WHERE id='$id'";
}
if($tipe=="rusak"){
$sql = "DELETE FROM rusak WHERE id='$id'";
}
$conn->query($sql);
echo "success";
?>