Re: Wrapping Text

From: Date: Sun, 08 Apr 2001 02:46:15 +0000
Subject: Re: Wrapping Text
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47616@lists.php.net to get a copy of this message
Or better yet, use nl2br() : http://www.php.net/manual/en/function.nl2br.php Regarding the html WRAP attribute, this little tutorial looks interesting : http://www.web-wise-wizard.com/html-tutorials/ html-form-forms-textarea-wrap.html (note: it's one link, had to split up as it's so long!) Regards, Philip On Sat, 7 Apr 2001, shaun wrote: > one thing that would help is to str_replace("\n", "<br>"); > > I think textarea has a wrap attribute doesn't it? > > > > On Wednesday 04 April 2001 13:20, Chris Anderson wrote: > > I've been having large problems with this so I decided to ask you guys(and > > gals ^_^). I have a textarea where you can type your text and it is saved > > to a file. Then another script includes that. Unfortunately I can't find a > > way for the textarea to wrap the text, or make it so it shows it they way > > they typed it in. Any help would be appreciated > > -- > 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 (#47616) next »