Skip to main content
July 31, 2007
Question

Forum forms

  • July 31, 2007
  • 2 replies
  • 301 views
I have coded some custom forums and am using a simple text box as the place to input the forum message. I want to have a more advanced text box (like the one in these forums) that allows bolded font, links, bullets, etc. Also, once I get the form input, how would I store it in the db? As a blob? Do the forms input the text as html?

Anyway, I'm sure it's simple to do but have no idea. Can someone help me?
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    August 7, 2007
    idesdema-

    No need to treat the generated markup from the WYSIWYG editor any differently. It's just a string so store it as you would any other string.
    Inspiring
    July 31, 2007
    wysiwyg editors is what you are looking for

    just google "tinymce" (my personal fav), "fckeditor" - i think these 2
    are the most popular ones and both are free. you can search these
    forums for other suggestions too.

    and yes, they will generally output html-formatted text which you can
    store in your db.

    ---
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com