Memperbaiki penamaan folder dan menambahkan index.html sebagai landing page

This commit is contained in:
powji17
2026-06-09 15:47:38 +07:00
parent cd9c12bd3c
commit 64ca4e3565
42 changed files with 70 additions and 0 deletions
@@ -0,0 +1,10 @@
<?php
header('Content-Type: application/json');
$conn = new mysqli('localhost', 'root', '', 'webgis');
$data = json_decode(file_get_contents('php://input'), true);
$stmt = $conn->prepare("DELETE FROM rumah_ibadah WHERE id = ?");
$stmt->bind_param("i", $data['id']);
echo $stmt->execute()
? json_encode(['status' => 'success'])
: json_encode(['status' => 'error']);
?>