From 5ad88e6e354a771a8afca7a173883bfa85b4dc14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Wed, 14 Apr 2021 11:36:40 +0200 Subject: [PATCH] added new method //Print session MSG: --- assets/php/template.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/php/template.php b/assets/php/template.php index f257bf1..76802c4 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -173,5 +173,13 @@ \n"; } + //Print session MSG: + function print_msg() { + if(isset($_SESSION['message'])){ + echo "