RE: [PHP] Enter to BR
| From: | Jason Murray | Date: | Tue, 26 Jun 2001 03:50:01 +0000 |
| Subject: | RE: [PHP] Enter to BR | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55183@lists.php.net to get a copy of this message | ||
> How can I get an Enter typed in a HTML textfield to be
> inerpreted as a BR or a P tag? Someone sugested I use the
> split() function, but I wouldn't know how...
You'll want to use nl2br(), then.
Jason