I cannot connect to the database because: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND langID = 1' at line 1 This query died: SELECT status FROM content WHERE artID = AND langID = 1 on this page:/1.1/inc/viewArticle.php