echo $data['Post']['body'];

Maybe the question wasn't clear. What exactly do you mean about the
"right way to display" it?

On Sat, May 5, 2012 at 12:01 PM, Matteo Landi <[email protected]> wrote:
> Hi everybody,
>
> Could you tell me what is the right way to display html formatted content
> extracted from the database?  Taking the blog tutorial as example, how is
> possible to let users create posts containing html tags such as `strong`, 
> `em`,
> `ul` and so forth?
>
>
> Thanks,
> Matteo
>
> --
> http://www.matteolandi.net
>
> --
> 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

-- 
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