Use nl2br

Cheers,

On Wed, Sep 24, 2008 at 12:39 PM, chad qian <[EMAIL PROTECTED]> wrote:
> I setup details as varchar(600) in mysql.
> On CMS,people can input "details".
> One guy inputs:
> good morning,ny
> good afternoon,ny
> good night,ny
>
> However,"details" is displayed on frontend page as:
> good morning,nygood afternoon,ny,good night,ny
>
> I need the same as input:
> good morning,ny
> good afternnon,ny
> good night,ny
>
> How to fix this problem?Thanks!
>
> chad
>
> ________________________________
> See how Windows Mobile brings your life together—at home, work, or on the
> go. See Now
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9166-6902
MSN: [EMAIL PROTECTED]
URL: http://blog.bisna.com
Rio de Janeiro - RJ/Brazil
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to