Created
November 7, 2014 07:53
-
-
Save sensityy/8ae2b54773785e7ca372 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| //SESSION MESSAGE SHOWN - [NEED: IN FUNCTION] | |
| if(isset($_SESSION['message'])) | |
| { | |
| //Shows the message. | |
| echo $_SESSION['message']; | |
| //Unset's the session after the message has been shown | |
| unset($_SESSION['message']); | |
| } | |
| $_SESSION['message'] = "<div class='alert alert-success'>Du har oprettet en bruger.</div>"; | |
| ?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment