different changes

- change from $ _REQUEST to $ _POST / $ _ GET
- Session messages are managed globally by template
This commit is contained in:
Daniel Muñoz Garcia
2021-04-14 11:38:51 +02:00
committed by GitHub
parent 5ad88e6e35
commit 4968bc8e25
7 changed files with 95 additions and 63 deletions

View File

@ -87,15 +87,6 @@
</form>
</div>';
}
function showmessage() {
if(isset($_SESSION['message'])){
echo '<div>
<h3>'.$_SESSION["message"].'</h3>
</div>';
unset($_SESSION['message']);
}
}
showmessage();
drawFilms($film->getReply());
addFilm();