setDead($pid, $_POST); header("Location: view.php?pid=".$_GET["pid"]); exit(); } $form=schema2form("forms/death.schema.json", $pid, null, null, (object)["diagnosis"=>$db->getDiagnosis($pid)->fetchArray()["diagnosis"]]); } ?> Death Note