Hi All
I have the following lines in my controller:
$this->Session->setFlash('blabla');
$this->redirect(array('action'=>'unsuccessful'));
exit();
and this part in my view:
if ($session->check('Message.flash')) {
echo $session->flash();
}
but the result will be :
<div id="flashMessage" class="message">blabla</div>1
I have that 1 extra in my view!!!!!!!
can anyone help me please!!!!!
Thanks
Sherry
--
View this message in context:
http://cakephp.19694.n2.nabble.com/this-Session-setFlash-problem-tp5856173p5856173.html
Sent from the CakePHP mailing list archive at Nabble.com.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en