first commit

This commit is contained in:
2026-06-11 21:18:48 +07:00
parent 14ef9997c2
commit 2747d616c7
45 changed files with 7381 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
// php/delete_bantuan.php
require_once 'koneksi.php';
header('Content-Type: text/plain');
$id = intval($_POST['id'] ?? 0);
if (!$id) { http_response_code(400); echo 'ID tidak valid.'; exit; }
if (mysqli_query($conn, "DELETE FROM histori_bantuan WHERE id={$id}")) { echo 'success'; }
else { http_response_code(500); echo mysqli_error($conn); }
?>