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%' OR c.country LIKE '%Daddy's%' OR c.venue LIKE '%Daddy's%') AND c.publishe...' at line 2 SQL=SELECT COUNT(c.cid) FROM site_concert c
WHERE (c.city LIKE '%Daddy's%' OR c.country LIKE '%Daddy's%' OR c.venue LIKE '%Daddy's%') AND c.published = 1
ORDER BY ctime ASC