Invalid SQL: select * from cms_tag WHERE domainid = 1 AND lower(name) in ('valentine's day','love','smile','maya angelou','quotes about future','smiles','tear','lord byron','quotes about song','quotes about fools','quotes about satire','lord byron','quotes','mark twain','age','wrinkles','smiles','smile','friends','wear','george eliot','william shakespeare','thief','robbed','mother teresa','good','simple','peace','begins','quotes about forget','face','glad','groucho marx','victor hugo','quotes about stupid','better','quotes about hell','laughter','joy','valentine\'s day','love','maya angelou','honore de balzac','women','whose') ORDER BY total desc LIMIT 30

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 day','love','smile','maya angelou','quotes about future','smiles','tear','lord' at line 3 (1064)