Error en la consulta:
SELECT c.id AS ID, c.empresa AS EMPRESA, c.url AS URL, cc.nombre AS SECTOR, c.logo AS LOGO FROM clientes c, categorias_clientes_es cc WHERE c.sector=cc.id AND c.sector =
[1064: 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 '' at line 1]