As I know there's no real WYSIWYG text to html converters. Plus this wouldn't do much more than handling paragraphs and new lines.

If you're looking for a way to write html from a textbox check out FCKEditor.

Sorry I couldn't help much. If you really do have only the limited need of paragaphs and newlines then go with Ron's solution, it'll work just fine.

- Dan

"Ron Piggott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Is there a PHP command that turns text into HTML?

EXAMPLE:

"before"

Hi.

How are you doing?

"after"

Hi.<p>

How are you doing?<p>



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

Reply via email to