Erreur SQL !
SELECT cfr,cve,cna,cre,cbi,ceu,url, nom, couleur, essentiel txt, prix, promo, photo, photo2 FROM produit_couleur WHERE prix!="0.00" AND affich=1 AND photo!="" AND (cm LIKE '%,M%' OR SUBSTR(cm, 1, 1) = 'M' ) AND cm LIKE '%M%' AND produit IN (0)ORDER BY CASE produit END ,num
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 'END ,num' at line 1