On Tue, 30 Oct 2001 19:13, Morten Winkler Jørgensen wrote:
> NV> Hi !
>
> NV> I'm making a web site which allows user to add his own news, or
> other data to the page NV> via the form. The user inputs the data into
> the <textarea> and the data is placed into a NV> table. The problem is
> that all the text is placed into a single line ! NV> Is there a html
> catch to prevent this, or I'll have to break the string into the
> smaller NV> parts ? This is not so good, because of the screen
> resolution ...
>
> NV> Help !!!
>
>
> <TEXTAREA WORDWRAP= "PHYSICAL or VIRTUAL" ...
>
> Physical inserts newlines into the text whenever needed
> Virtual just wraps the text in the area.

And of course you'll need to use nl2br() if you want the text to break in 
a HTML page.

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Without Time, everything would happen at once.

-- 
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