1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Rich text into mysql

Discussion in 'MySQL' started by webvivre, Dec 31, 2004.

  1. #1
    Is there some open source php code available similar to the code used in vBulletin so that a user can add rich text (with html type commands) to a field in mysql?
     
    webvivre, Dec 31, 2004 IP
  2. anton-io!

    anton-io! Active Member

    Messages:
    540
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I'm not sure if this is similar to vBulletin, but I have used 'HTMLArea' from InterActive Tools. The MySQL field should be set to 'LongText'.

    http://www.htmlarea.com/htmlarea_2/

    Basically it's a simple WYSIWYG editor for 'textarea' fields on a form

    Hope this helps!
     
    anton-io!, Jan 5, 2005 IP
  3. goldensea80

    goldensea80 Well-Known Member

    Messages:
    422
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Use html code directly is something dangerous. Maybe that's why the popular open source use some special code (bbcode in phpBB, and dunno what vBulletin's code is)
     
    goldensea80, Jan 7, 2005 IP