RE: [PHP] text to HTML

This is a discussion on RE: [PHP] text to HTML within the PHP General forums, part of the PHP Programming Forums category; the closest is nl2br() which converts line breaks to tags. Other than that, you would need to look at regex ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-26-2007
Bastien Koert
 
Posts: n/a
Default RE: [PHP] text to HTML


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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0