Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

yii1 set flash

<?php if(Yii::app()->user->hasFlash('contact')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>

<?php endif; ?> 
Source by www.yiiframework.com #
 
PREVIOUS NEXT
Tagged: #set #flash
ADD COMMENT
Topic
Name
3+3 =