formatting paragraphs in to strings

From: Date: Mon, 13 Jun 2005 19:06:22 +0000
Subject: formatting paragraphs in to strings
Groups: php.general 
Request: Send a blank email to php-general+get-216905@lists.php.net to get a copy of this message
Hi, I'm having a perplexing problem. I'm gather data through a <textarea> html from field and dumping it to MySQL. I want to display the data as a long string with no carriage returns or line breaks in a dhtml div window. The problem I'm have is that the form data is remembering the carriage returns. I tried using trim() and rtrim() with no luck. The data is still formatted exactly like it was inputed. Any ideas why this is happening and how I can format the text properly?? TIA! -- Paul Nowosielski Webmaster CelebrityAccess.com 303.440.0666 ext:219

« previous php.general (#216905) next »