Keeping newlines when sending form
| From: | Carlo van Herwaarden | Date: | Tue, 12 Sep 2000 19:51:36 +0000 |
| Subject: | Keeping newlines when sending form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16430@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to send a form textfield to my php script with something in it
like this.
bla bla and bla (notice the empty lines)
bla
bla bla bla
If i echo the form data all the newlines are gone and it will look like this
bla bla and bla (notice the empty lines) bla bla bla bla
Is there a way to keep the returns or find them and then replace them with
<br> when echoing or storing in my mysql dBase? I want to use it to store
pages of text with all the returns intact.
Carlo