Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home/html/learnyourvocab.com/public_html/www/sql/OnVocabTable.php:18 Stack trace: #0 /home/html/learnyourvocab.com/public_html/www/sql/OnVocabTable.php(18): mysqli->query('SELECT count(*)...') #1 /home/html/learnyourvocab.com/public_html/www/learning.php(4): OnVocabTable::getVocabCount(NULL) #2 {main} thrown in /home/html/learnyourvocab.com/public_html/www/sql/OnVocabTable.php on line 18