Ok so I have a form in a made from scratch forum. I am using NBBC to parse BBCode for the forum. Here is the code. My main focus is to transform the single quotes into html enti
try mysql_real_escape_string(). should work!
http://php.net/manual/en/function.mysql-real-escape-string.php