Preserving \r\n in Textarea
| From: | Clarence Kwei | Date: | Fri, 30 Jun 2000 03:01:16 +0000 |
| Subject: | Preserving \r\n in Textarea | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3943@lists.php.net to get a copy of this message | ||
Is there a function that will preserve newline (\n) and/or carriage returns
(\r) so when the text is pulled from a database is displayed in a "textarea"
form, the lines break properly?
Right now, they get converted in to spaces and I'm not sure how to preserve
them. Any help would be greatly appreciated.
Thanks!
--
Clarence
-> clarencek@ifurnishing.com