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 't Know What's on Your Mind' AND id_artista='191791' ORDER BY video DESC,click DE' at line 1