NYCPHP Meetup

NYPHP.org

[nycphp-talk] one question about change line in "detail" textbox

Guilherme Blanco guilhermeblanco at gmail.com
Wed Sep 24 11:49:54 EDT 2008


Use nl2br

Cheers,

On Wed, Sep 24, 2008 at 12:39 PM, chad qian <nynj.tech at hotmail.com> 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: guilhermeblanco at hotmail.com
URL: http://blog.bisna.com
Rio de Janeiro - RJ/Brazil


More information about the talk mailing list