Re: Hitting return in a textarea box...
| From: | Phillip S. Baker | Date: | Wed, 24 Jul 2002 18:36:50 +0000 |
| Subject: | Re: Hitting return in a textarea box... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109341@lists.php.net to get a copy of this message | ||
At 11:26 AM 7/24/2002 Wednesday, Jesse Lawrence wrote:
I'm putting together a message board, and I'm having problems with hitting the return(enter) key within my textarea. I've looked around for a solution, I tried wrap="hard", wrap="soft" and wrap="vitual" and none of them worked (should they? I may have done it wrong?) and I also tried nohardbreaks and nosoftbreaks, but I think they may be no longer supported. Is this a case for regex? If so, can someone perhaps point me to an article on how to accomplish this? Thanks very much for any help. JesseWhat problem specifically are you having? Not clear on what issue you are having? Displaying the carriage returns? if you use nl2br($textarea_input) function then this will convert all carriage returns to <BR> tags to properly display HTML. Is that what you are looking for? Phillip