Re: word wrap
| From: | Kevin Stone | Date: | Mon, 12 May 2003 19:12:47 +0000 |
| Subject: | Re: word wrap | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147339@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Jerry M. Howell II" <jmhowell@jmhowell.com>
To: "PHP Mailing List" <php-general@lists.php.net>
Sent: Monday, May 12, 2003 12:07 PM
Subject: [PHP] word wrap
> Hello all,
>
> I am asking this question on behalf of another user. Actualy I have
> wondered the same thing a few times so I thought I'd ask, btw, we are
> talking about information entered in a mysql database.
>
> ---------------- message --------------------------------
> The php page table has a field for Comments. If a user inputs one
> long unbroken line of characters, it causes the page to display
> spread out to accommodate the long line (not wrapped) and a bottom
> scrollbar.
>
> How do I stop that from happening and force word wrap?
>
> ---------------------------------------------------------------
>
> --
> Jerry M. Howell II
I assume this text is being displayed in a web browser? Simply echo the
text inside of an HTML table. Allow the browser to wrap the text.
- Kevin