Re: Carriage Returns in Text Fields

From: Date: Tue, 03 Sep 2002 11:51:11 +0000
Subject: Re: Carriage Returns in Text Fields
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115008@lists.php.net to get a copy of this message
How and where are you spitting out the text? If to HTML output, the use the nl2br(). or spit between <pre> tags. Elias "Royw" <php@wiegmann.net> wrote in message news:00a301c25336$9815cc60$2002a8c0@attbi.com... > I have a script which takes a memo field and stuffs it into a "mediumtext" > column of a MySQL table. > > When I spit out the contents of the field, the carriage returns are no > longer there... how do I maintain the integrity of the paragraphs in text > fields? > > Thanks > > >

« previous php.general (#115008) next »