Created
April 16, 2019 07:01
-
-
Save yasaryousuf/51589904b898a54e03176c034d1709c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (isset($_SESSION['message'])) : ?> | |
<div class="alert alert-<?= $_SESSION['type'] ?>"> | |
<?= $_SESSION['message'] ?> | |
</div> | |
<?php endif; unset($_SESSION['message']); unset($_SESSION['type']); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment