Re: table troubles
| From: | David Robley | Date: | Tue, 30 Oct 2001 23:56:02 +0000 |
| Subject: | Re: table troubles | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72937@lists.php.net to get a copy of this message | ||
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.