How about

<?php
$flash = $this->Session->flash();
if (!empty($flash)) {
        echo '<div ...>' . $flash . '</div>';
}
?>

On Jun 14, 2011, at 17:00, Krissy Masters wrote:

> Missed the part where i said "I know about the flash session class options
> but I need something more than a class in this case." Its more than just a
> class div I need.
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Ryan Schmidt
> Sent: Tuesday, June 14, 2011 7:12 PM
> To: [email protected]
> Subject: Re: Flash Session Variable
> 
> 
> On Jun 14, 2011, at 15:06, Krissy Masters wrote:
> 
>> I know about the standard <?php echo $this->Session->flash(); ?>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to