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 "
".$_SESSION['message']."
"; + unset($_SESSION['message']); + } + } + } ?> \ No newline at end of file