SELECT COUNT(*) FROM videos WHERE 1 AND dflag='0' AND converted='1' AND broadcast=0 AND (( tags LIKE '%Let's Go Crazy%' OR tags LIKE '%Let's%' OR tags LIKE '%Crazy%' )) :You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Go Crazy%' OR tags LIKE '%Let's%' OR tags LIKE '%Crazy%' ))' at line 1