PHP code example of ajani / flash-message
1. Go to this page and download the library: Download ajani/flash-message library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ajani / flash-message example snippets
session_start();
age::push('success', 'Congrats, you\'ve just write a message !');
session_start();
shMessage\FlashMessage::next())
{
echo "Find a flash message.";
echo "Message type: " . $message['type'];
echo "Message: " . $message['text'];
}
session_start();
ashMessage\FlashMessage::count() . " unread messages.";