PHP code example of paaa14 / c-flash-message
1. Go to this page and download the library: Download paaa14/c-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/ */
paaa14 / c-flash-message example snippets
if($this->flashMessage->hasFlash()) :
$message = $this->flashMessage->getFlash();
endif;
if(isset($main)) echo $main
$this->views->render('main')
if($this->flashMessage->hasFlash()) :
$message = $this->flashMessage->getFlash();
endif;