On Sat, 10 Jan 2009 17:01:28 -0500, Stephen wrote:

>How do you suggest dealing with a need to allow italics, bold, 
>underlines, etc?

Give them a rich text editor, IMHO. That way, you get close tags!

Some examples:

http://tinymce.moxiecode.com/
http://www.fckeditor.net/
http://developer.yahoo.com/yui/
http://geniisoft.com/showcase.nsf/WebEditors

>I see forum web sites that allow the user to enter [b]bold text[/b] for 
>example.
>
>I would like to do this.
>
>Anyone have a function to convert this kind of thing to HTML?

http://au2.php.net/manual/en/book.bbcode.php
-- 
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutions" -Eric Sevareid

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

Reply via email to