Initial commit

This commit is contained in:
2026-06-13 13:38:52 +07:00
commit 1c9cc7dfbb
41 changed files with 6993 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
include 'db.php';
$data = json_decode(file_get_contents("php://input"), true);
$id = $data['id'];
$geojson = json_encode($data['geojson']);
$conn->query("UPDATE data_unified SET geom='$geojson' WHERE id=$id");
echo "update berhasil";
?>