RE: [PHP] textarea -- what happens to my new lines
| From: | heinisch at creaction dot de | Date: | Thu, 03 May 2001 13:58:07 +0000 |
| Subject: | RE: [PHP] textarea -- what happens to my new lines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51269@lists.php.net to get a copy of this message | ||
At 14:34 03.05.01 +0200, you wrote:
change wrap !
<textarea name="textfield" cols="45" rows="5" wrap="physical"></textarea>
"physical means pyhsical" not HARD
echo nl2br($textfield); //turns your nl´s in <br>´s
That should work
Oliver