bonjour,
voilà ma requête m'affiche tout au lieu de ne m'afficher que le genre 1 ou le genre 3
car c'est mixte(3) ou fille(1)
pouvez-vous m'aider?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 SELECT Distinct * FROM boutchou_produit,boutchou_categorie,boutchou_genre WHERE boutchou_produit.id_categorie=boutchou_categorie.id_categorie and boutchou_produit.id_genre=boutchou_genre.genre_id and boutchou_produit.id_categorie = '.$idcateg.' and boutchou_genre.genre_id="2" OR (boutchou_genre.genre_id = "3") group by boutchou_produit.produit_id
merci elodie
Partager