Web-based rich text editor adds extra characters

Discussion in 'PHP' started by webber98, Oct 23, 2009.

  1. #1
    Hi. I'm using "Free Rich Text Editor" for my forms to add content to my php web pages. It seems to change things around each time I edit the content on the page. It seems to add slashes if I have any special characters. I contacted the author, but he seems not to answer support questions.
     
    webber98, Oct 23, 2009 IP
  2. orionoreo

    orionoreo Peon

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you magic quotes GPC on?
     
    orionoreo, Oct 23, 2009 IP
  3. webber98

    webber98 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    "magic quotes GPC" - i don't know what that is. How can I check?
     
    webber98, Oct 23, 2009 IP
  4. webber98

    webber98 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hi. i just googled it. i'm going to figure it out and post back. thanks orionoreo.
     
    webber98, Oct 23, 2009 IP
  5. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Turn magic quotes off and don't use addslashes function, and use only mysql_real_escape_query when inserting data into database.
     
    Gray Fox, Oct 23, 2009 IP