RE: [PHP-DB] Formatting in Text Area
| From: | Bastien Koert | Date: | Fri, 01 Feb 2008 15:07:45 +0000 |
| Subject: | RE: [PHP-DB] Formatting in Text Area | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44558@lists.php.net to get a copy of this message | ||
$text = nl2br($text);
bastien
> Date: Fri, 1 Feb 2008 08:07:17 -0500> From: pvanbuskirk@otc.fsu.edu> To:
> php-db@lists.php.net> Subject: [PHP-DB] Formatting in Text Area> > I have a "customer
> description" text area field on my form which feeds through php to FMP, and spits out a
> confirmation page and email. The issue I am having is this ... as the customer types, the text
> wraps. Many put their own hard returns and spaces in to organize their description. It seems I
> can't get it to do both the wrap and show the actual formatting entered. If I format the field
> as physical wrap, the lines run off the page on the confirmation/printout. If I format it as
> virtual, then the hard returns, etc get lost. I have also tried using <PRE> on the
> confirmation page and email and that doesn't work either.> > Hmmm... scratching head!>
> > Trish> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> Patricia Van Buskirk> Florida State
> University, Office of Telecommunications> 644 W. Call Street> Tallahassee, FL 32306-1120>
> (850) 644-9247> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> > -- > PHP Database Mailing
> List (http://www.php.net/)> To unsubscribe, visit:
> http://www.php.net/unsub.php>
_________________________________________________________________