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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to