- Home
- Latest News
Latest News Articles from CQC
SQLSTATE[42000]: Syntax error or access violation: 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 '-570, 6' at line 1
SELECT newsTitle, newsTitleListing, newsThumb, newsDescription, REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(LOWER(TRIM(newsTitle)),'&','and'),'_',' '),'.','-'),'&',''),'/','-'),'\'',''),'+',''),'(',''),')',''),'"',''),'%',''),'!',''),',',''),' ','-'),'--','-') AS newsUrl FROM news WHERE newsActive = ? ORDER BY newsOrder DESC LIMIT -570, 6