DB function failed with error number 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 's Hall%' OR c.country LIKE '%St George's Hall%' OR c.venue LIKE '%St George's...' at line 2 SQL=SELECT COUNT(c.cid) FROM site_concert c
WHERE (c.city LIKE '%St George's Hall%' OR c.country LIKE '%St George's Hall%' OR c.venue LIKE '%St George's Hall%') AND c.published = 1
ORDER BY ctime ASC