<?php if(isset($_POST["from"])){ fichier::update($_POST); header("Location: /edit/".$_POST["hash"]); exit(); }