[PHPLIB] text area to <br> From: Chester McLaughlin (chester23 <email protected>)
Date: 02/27/00

I have an input form which contains a text input box. When the form is
submited the submited information is written directly to a page. It
works great, except that if a person typed a message like this:
=====================
This is my message...

.... This is the end of my message.
=========================
it would end up like this:

This is my message... .... This is the end of my message.

Is there a way to translate a hard return in the text area box into a
<br> or <p> tag?

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.