PHP Classes

File: Script/themes/classic/tpl/inc/success_msg.inc.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   H2OGame PHP Game Engine   Script/themes/classic/tpl/inc/success_msg.inc.php   Download  
File: Script/themes/classic/tpl/inc/success_msg.inc.php
Role: Example script
Content type: text/plain
Description: Example script
Class: H2OGame PHP Game Engine
Application to manage an online games platform
Author: By
Last change:
Date: 2 years ago
Size: 264 bytes
 

Contents

Class file image Download
<?php defined('H2O') or exit('Access denied');

$oSess = new H2O\Session;
if (
$oSess->exists('H2OSuccessMsg'))
{
    echo
'<div class="center alert-message success">' . $oSess->get('H2OSuccessMsg') . '</div>';
   
$oSess->remove('H2OSuccessMsg');
}
unset(
$oSess);