Initial commit

This commit is contained in:
2026-06-13 10:54:54 +07:00
commit fb63e876ea
41 changed files with 2473 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
include 'db.php';
$data = json_decode(file_get_contents("php://input"));
$id = $data->id;
$conn->query("DELETE FROM polygons WHERE id=$id");
echo json_encode(["status"=>"deleted"]);
?>