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. > >Jesse
What 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php