- 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 '-594, 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 -594, 6