SQL Error : 1064 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 '' at line 1

select news_id, title, rewrite_name, brief, image, align, isnew, DATE_FORMAT(postingdate, '%Y%m%d') as pdate from news_news where (board_id=1) and (active=1) order by priority desc limit 0,

Line : 47
File : D:\vhosts\psl.com.vn\httpdocs\skin\news\index.php