Bonjour,
je souhaiterai "updater" un champ de ma base mais suivant deux conditions.
J'ai fait une première version qui ne fonctionne pas (la deuxième intruction n'est pas traitée):
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 $query5 = mysql_query("UPDATE LOW_PRIORITY feuil1 SET topj='0' WHERE agence = 'aaaa' and topj='1'"); $query6 = mysql_query("UPDATE LOW_PRIORITY feuil1 SET topj='1' WHERE agence = 'aaaa' and topj='2'");
Partager