Re: Enter to BR

From: Date: Tue, 26 Jun 2001 04:26:07 +0000
Subject: Re: Enter to BR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55193@lists.php.net to get a copy of this message
Three resources that should interest you greatly : First, learn about the html wrap attribute. Although the following url is very long, it should be of use as it contains some examples (search google for terms html textarea wrap for more info) : web-wise-wizard.com/html-tutorials/html-form-forms-textarea-wrap.html Next, learn a little about linefeed / newline here : http://www.faqts.com/knowledge_base/view.phtml/aid/901/ And from there, getting <br>'s from \n's is a snap, check out : http://www.php.net/manual/function.nl2br.php It's up to you from there :-) regards, Philip Olson On Tue, 26 Jun 2001, Joeri Vankelst wrote: > How can I get an Enter typed in a HTML textfield to be inerpreted as a BR or > a P tag? > Someone sugested I use the split() function, but I wouldn't know how... > > Joeri Vankelst > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#55193) next »