query("DELETE FROM lokasi WHERE id='$id'"); echo json_encode(["message"=>"hapus"]); ?>