added new method

//Print session MSG:
This commit is contained in:
Daniel Muñoz Garcia 2021-04-14 11:36:40 +02:00 committed by GitHub
parent 9113a9821a
commit 5ad88e6e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,5 +173,13 @@
</footer>\n"; </footer>\n";
} }
//Print session MSG:
function print_msg() {
if(isset($_SESSION['message'])){
echo "<div>".$_SESSION['message']."</div>";
unset($_SESSION['message']);
}
}
} }
?> ?>