1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ROWS FROM answers WHERE QUIZID='43'' at line 1 SELECT COUNT(ID) AS ROWS FROM answers WHERE QUIZID='43' 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ROWS FROM answers WHERE QUIZID='38'' at line 1 SELECT COUNT(ID) AS ROWS FROM answers WHERE QUIZID='38'