Preserving line breaks from form data.
| From: | Generic Player | Date: | Sat, 29 Jul 2000 12:13:31 +0000 |
| Subject: | Preserving line breaks from form data. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8950@lists.php.net to get a copy of this message | ||
What do I need to do to preserve linebreaks people make when putting
data in a form? I have a textarea in a form which stores the input as
$body, but when I print $body, all linebreaks have been turned into
spaces.
Thanks
Generic Player