=$header_title?>
=$header_subtitle?>
prepare("UPDATE users SET role = :role, accreditation = :accreditation WHERE ID = :userid"); $req->bindParam(':role',$_POST['role']); $req->bindParam(':accreditation',$_POST['accreditation']); $req->bindParam(':userid', $_POST['userid']); if ($req->execute()) { $status = "Utilisateur mis à jour"; } else { $status = "Erreur SQL"; } } ?>