RE: [PHP] Convert textarea post data from plain text to html using php..how?
| From: | Ed Lazor | Date: | Sun, 12 Sep 2004 00:55:45 +0000 |
| Subject: | RE: [PHP] Convert textarea post data from plain text to html using php..how? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196425@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> On Sunday 12 September 2004 07:01, Brent Clements wrote:
> > Do you guys happen to have an easy easy to do this?
> >
> > I need to convert plain text submitted via a textarea form field to html
> > formatted text.
> >
> > Is there a way to do this with php?
>
> $htmltext = "<html><p>$plaintext</p></html>";
>
> Season to taste. Or explain exactly what you mean.
Sounds almost like they're talking about
http://www.interaktonline.com/products/KTML/
-Ed