RE: text to HTML

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

 



the closest is nl2br() which converts line breaks to  tags. Other than that, you would need to look at regex manipulation to make those changes.

Bastien




----------------------------------------
> From: ron.php@xxxxxxxxxxxxxxxxxx
> To: php-general@xxxxxxxxxxxxx
> Date: Sun, 26 Aug 2007 10:36:06 -0400
> Subject:  text to HTML
> 
> 
> Is there a PHP command that turns text into HTML?
> 
> EXAMPLE:
> 
> "before"
> 
> Hi.
> 
> How are you doing?
> 
> "after"
> 
> Hi.
> 
> How are you doing?
> 

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux