BESOIN D'AIDE POUR LES CHAMPS SET
SOPHIEVAR83
-
Profil bloqué -
Profil bloqué -
Bonjour,
J'ai 1 champs de donnée EtatMateriel SET(1,2,3,4)
Je souhaiterai affiché cela: Si mon produit=1 j'affiche 'Tres bon état', si mon produit=2 'j'affiche 'Bon état, si mon produit=3 'j'affiche 'Etat de marche'
Je souhaiterai afficher un message pour chaque valeur sachant qu'une ligne peut contenir plusieurs valeurs du SET.
iF EtatMateriel =1
echo ' très bon état;
If EtatMateriel =2
echo ' bon état';
If EtatMateriel =3
echo ' etat de marche';
Mon problème c'est que le IF affiche la première valeur disponible et non les autres si il y en a.
Merci pour votre aide
SOphie
J'ai 1 champs de donnée EtatMateriel SET(1,2,3,4)
Je souhaiterai affiché cela: Si mon produit=1 j'affiche 'Tres bon état', si mon produit=2 'j'affiche 'Bon état, si mon produit=3 'j'affiche 'Etat de marche'
Je souhaiterai afficher un message pour chaque valeur sachant qu'une ligne peut contenir plusieurs valeurs du SET.
iF EtatMateriel =1
echo ' très bon état;
If EtatMateriel =2
echo ' bon état';
If EtatMateriel =3
echo ' etat de marche';
Mon problème c'est que le IF affiche la première valeur disponible et non les autres si il y en a.
Merci pour votre aide
SOphie
A voir également:
- BESOIN D'AIDE POUR LES CHAMPS SET
- Set iptv probleme - Forum TV & Vidéo
- Time of day not set please run setup program ✓ - Forum Debian
- Word mettre à jour tous les champs ✓ - Forum Word
- Set fsb - Télécharger - Optimisation
- Mon iptv ne fonctionne plus ✓ - Forum TV & Vidéo