Files
2026-06-13 13:38:52 +07:00

12 lines
228 B
PHP

<?php
include 'db.php';
$data = json_decode(file_get_contents("php://input"), true);
$id = $data['id'];
$tipe = $data['tipe'];
$conn->query("DELETE FROM data_unified WHERE id=$id AND tipe='$tipe'");
echo "hapus berhasil";
?>