Initial commit
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
<?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";
|
||||
?>
|
||||
Reference in New Issue
Block a user