Re: form/text area input problem
| From: | - Edwin | Date: | Thu, 13 Mar 2003 15:14:10 +0000 |
| Subject: | Re: form/text area input problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139521@lists.php.net to get a copy of this message | ||
Hi,
"Poon, Kelvin (Infomart)" <kpoon@infomart.ca> wrote:
[snip]
> I am just looking for a more efficient way of solving this, can anyone
> give me any idea?
[/snip]
I think you'll save yourself from so much trouble if:
1. You just leave those long text. If they didn't press ENTER, it means
that they were typing a looong paragraph, no?
2. Use the nl2br() function to make sure that those parts where they
pressed ENTER (a newline), would be turn into <br />.
http://www.php.net/manual/en/function.nl2br.php
Just my idea...
- E
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/