Also the generated html of the message seems to be correct (but the
browser display him as a string)
Best glance;)

On 21 avr, 19:25, Dheeraj Kumar Aggarwal <[email protected]>
wrote:
> Hi Ahmed,
>
> At my side this is working
>
> i have used in actions class
> $msg = "<a href=\"some-url\">display msg</a>";
> and then set the flash message by
> $this->getUser()->setFlash('msg', $msg);
>
> then i am retrieving it in templates as
> $sf_user->getFlash('msg');
>
> and it is working fine.....
>
> On Tue, Apr 21, 2009 at 9:31 PM, Ahmed <[email protected]> wrote:
>
> > Hi all ;
> > i have a simple message Where i store a html message with <br> and <a>
> > tag .
> > When i try to display it (in the layout ) with echo $sf_user->getFlash
> > ('msg') ,she not recognize any html tag an display them as a string .
> > How can i correct this ? .
> > Cordialy Ahmed .
>
> --
> Regards,
> Dheeraj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to