Re: Enter to BR
| From: | David Robley | Date: | Tue, 26 Jun 2001 04:28:59 +0000 |
| Subject: | Re: Enter to BR | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55195@lists.php.net to get a copy of this message | ||
On Tue, 26 Jun 2001 07:46, Joeri Vankelst wrote:
> 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...
>
> Joeri Vankelst
nl2br() is just the tool for this.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
He who dies with the most toys... is *still* DEAD!