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.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
UNIX enhancements aren't.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to