id; $conn->query("DELETE FROM polygons WHERE id=$id"); echo json_encode(["status"=>"deleted"]); ?>