Bonjour,
Je voudrais savoir comment fair pour avoir avec une seul action bouton un UPDATE et un INSERT dans deux table differentes
Merci de votre aides
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 $query = "UPDATE NomTable1 set champs='OK' where champs=$toto ; INSERT INTO NomTable2 (champs1,champs2) VALUES '$toto', 'titi') ";
Partager