RE: [PHP] carriage returns

From: Date: Mon, 07 Jan 2002 17:54:18 +0000
Subject: RE: [PHP] carriage returns
Groups: php.general 
Request: Send a blank email to php-general+get-79715@lists.php.net to get a copy of this message
Inserting data from a textarea or something? If so, have a look at http://www.php.net/nl2br - probably what you're after. Cheers Jon -----Original Message----- From: Rodney Davis [mailto:rodney@wincubic.com] Sent: 07 January 2002 17:47 To: php-general@lists.php.net Subject: [PHP] carriage returns Sorry for the newbie question but I can't find it in the docs. How do I preserve carriage returns when inserting into and extracting data from a mysql db? I thought htmlspecialchars() would do the trick but it doesn't. thanks

« previous php.general (#79715) next »