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
You need to use mysql-real-escape-string http://php.net/manual/en/function.mysql-real-escape-string.php - not htmlspecialchars
try mysql_real_escape_string(). should work!
http://php.net/manual/en/function.mysql-real-escape-string.php