Re: make hitting enter in a text box = <br>
| From: | list peters | Date: | Tue, 14 May 2002 02:56:45 +0000 |
| Subject: | Re: make hitting enter in a text box = <br> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97472@lists.php.net to get a copy of this message | ||
hi,
i use nl2br($string) which replaces carriage returns with breaks on the
output page
chad
> I have a simple script for a newsletter, with a text area box for someone
to
> type in their newsletter. Is it possible to make it so when someone hits
> enter with the text box it will equal <br>?
>
> TIA
>
> Robert
>
> --
> -- NRC ONLINE --
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>