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 'AND news.category=category.id ORDER BY date DESC, id DESC limit 0,2' at line 1 in /home/awrq/public_html/arabic/functions.php:62
Stack trace:
#0 /home/awrq/public_html/arabic/functions.php(62): mysqli_query()
#1 /home/awrq/public_html/arabic/morenews.php(4): getSQL()
#2 /home/awrq/public_html/arabic/shownews.php(118): require('/home/awrq/publ...')
#3 {main}
thrown in
/home/awrq/public_html/arabic/functions.php on line
62