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 status='verified' order by dateline desc limit 0,10' at line 1mysql error:select id,title,subTitle,pic,catagoryId,gameId,dateline,viewNum from cy_news where gameId= and status='verified' order by dateline desc limit 0,10 code:1064,msg: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 status='verified' order by dateline desc limit 0,10' at line 1