RE: [PHP] text to HTML
| From: | Bastien Koert | Date: | Sun, 26 Aug 2007 15:43:13 +0000 |
| Subject: | RE: [PHP] text to HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-261294@lists.php.net to get a copy of this message | ||
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@actsministries.org
> To: php-general@lists.php.net
> Date: Sun, 26 Aug 2007 10:36:06 -0400
> Subject: [PHP] 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