RE: Form TextArea Formatting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:ignatius.reilly@free.fr]
Sent: maandag 9 december 2002 12:18
To: Keith Spiller; php-db@lists.php.net
Subject: Re:  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" <larentium@hosthive.com>
To: <php-db@lists.php.net>
Sent: Monday, December 09, 2002 12:01 PM
Subject:  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
> larentium@hosthive.com
>
>
>
> --
> 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux