updateHistory($_POST, $pid); header("Location: view.php?pid=".$pid); exit(); } } if(!empty($_GET["pid"])){ $form=schema2form("forms/history.schema.json", $_GET["pid"]); } else{ $form=schema2form("forms/history.schema.json"); } ?> History
>