Warning: Undefined variable $table in /home/eqtrader/public_html/eq2/articles/article_page.php on line 31

Fatal error: Uncaught mysqli_sql_exception: 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 'where quest_id = ''' at line 1 in /home/eqtrader/public_html/eq2/library/mysql.php:261 Stack trace: #0 /home/eqtrader/public_html/eq2/library/mysql.php(261): mysqli_query(Object(mysqli), 'SELECT * FROM ...') #1 /home/eqtrader/public_html/eq2/library/mysql.php(245): mysql->rawQuery('SELECT * FROM ...') #2 /home/eqtrader/public_html/eq2/articles/article_page.php(31): mysql->query('', '*', ' where quest_id...') #3 {main} thrown in /home/eqtrader/public_html/eq2/library/mysql.php on line 261