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 'and id!= order by id desc LIMIT 2' at line 1 in /home3/warrenbu/public_html/heavyhitterfinancial/codelibrary/inc/database_class.php:146
Stack trace:
#0 /home3/warrenbu/public_html/heavyhitterfinancial/codelibrary/inc/database_class.php(146): mysqli_query(Object(mysqli), 'select * from b...')
#1 /home3/warrenbu/public_html/heavyhitterfinancial/codelibrary/inc/database_class.php(557): database_class->my_query('select * from b...', Object(mysqli))
#2 /home3/warrenbu/public_html/heavyhitterfinancial/blog-details.php(11): database_class->getAnyTableAllData('blog', ' and blog_cat_i...')
#3 {main}
thrown in /home3/warrenbu/public_html/heavyhitterfinancial/codelibrary/inc/database_class.php on line 146