Hey, I myself am a newbie to PHP, but I believe what you are looking for is the nl2br() function....I presume you are outputting html. Hope that helped. Cheers, -Ryan.
----- Original Message ----- From: "RoyW" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 03, 2002 12:42 PM Subject: [PHP] Carriage Returns in Text Fields > 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 > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php