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 'from tbl_news where is_active=1 and is_deleted=1 order by rank desc' at line 1 in /var/www/crestchemical/include/mysql.php:24
Stack trace:
#0 /var/www/crestchemical/include/mysql.php(24): mysqli_query()
#1 /var/www/crestchemical/include/db.php(11): DBConnection->query()
#2 /var/www/crestchemical/news.php(11): dbconn->getdatalistfromquery()
#3 {main}
thrown in /var/www/crestchemical/include/mysql.php on line 24