preserve text formatting

From: Date: Wed, 09 Aug 2000 21:13:52 +0000
Subject: preserve text formatting
Groups: php.general 
Request: Send a blank email to php-general+get-10995@lists.php.net to get a copy of this message
Is there any way to preserve text formatting of a string when inserting it into a mysql database field? I know I could wrap it with some html, but I really don't need that kind of formatting, I just need to preserve the carriage returns and new line calls. I was thinking maybe I was using the wrong kind of mysql field, but after looking at the manual, I don't see anything like what I need. Is there something in PHP that can do the job? Thanks, Greg -- ------------------------------------------------------------------------ destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common internet addict, 3. lover of late 80's heavy metal music, 4. Activist for the terminally un-elite; see also - cool guy, des, mr. php... It's 4:00am, your web site is still up, why are you? http://destiney.com/ ------------------------------------------------------------------------

« previous php.general (#10995) next »