You can use Javascript to do so. When user submits, the script will replace
all
\n with <br>.
Or you can do it with your php script on server. There is a function called
nl2br().

"Rob Packer" <[EMAIL PROTECTED]> 写入消息新闻
:[EMAIL PROTECTED]
> 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

Reply via email to