hello, check this page for all info:
http://www.php.net/manual/en/function.nl2br.php and also check out the links on that page See also htmlspecialchars(), htmlentities() and wordwrap(). hope it helps!! good luck -----Original Message----- From: Ignatius Reilly [mailto:[EMAIL PROTECTED]] Sent: maandag 9 december 2002 12:18 To: Keith Spiller; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Form TextArea Formatting What do you mean by formatted text? All you can enter in a textarea is a sequence of characters belonging to your encoding schema (including non-printing characters). Ignatius ____________________________________________ ----- Original Message ----- From: "Keith Spiller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 12:01 PM Subject: [PHP-DB] Form TextArea Formatting > Hello, > > I've created a web form that includes a textarea input box called > MessageText. The data from this form will be inserted into a mysql table. > My problem is that the form users will be inserting formatted text into this > textarea and I need to be able to transfer the formatting as well as the > content into the database. Right now, all formatting is lost in the > transfer. Any ideas or suggestions? > > Thank you for your help. > > Larentium > [EMAIL PROTECTED] > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php