Erreur SQL !
SELECT
p.id,
p.nom,
p.description,
p.marque,
c.nom as nom_cat,
s.nom as nom_ss_cat,
p.critere
FROM
produit p, categorie c, sous_categorie s
where
marque = and
p.categorie = c.id and
p.sous_categorie = s.id and
s.id_categorie = c.id and
REPLACE(p.nom, " ", "-") like "pvl" COLLATE latin1_swedish_ci
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 'and
p.categorie = c.id and
p.sous_categorie = s.id and
s.id_categorie = c.id an' at line 12