We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21579
    • 10 Posts
    Has anyone experienced problems with the USER COMMENTS snippet? Seems everytime I try to post a comment with a " ’ " in it I get a MySQL parsing error. What am I missing?
      • 3763
      • 155 Posts
      Have you tried Replix?
      I’m not sure if it will work, but it’s much better than the default UserComments snippet and probably it can handle that.

      Boby
        ...my Photo Gallery on Flickr...
        • 21579
        • 10 Posts
        Ok. Seems the comment input just isn’t being cleaned. This fixes the problem:

        After line:
        $comment = str_replace($splitter,’’,$comment); // remove splitter from comment

        Insert to clean:
        $comment = addslashes($comment);

        Peace!