$sql =INSERT INTO corps(Dis_cr ,Num_cp) VALUES ('$Dis_cr','$Num_cp')UNION INSERT INTO grade( Dis_gr ,Num_cr) VALUES ('$Dis_gr','$Num_cr');
ma requête ne fonctionne pas et sa me donne ce message d’erreur .
svp quelqu’un pourra m'aiderYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNION INSERT INTO grade( Dis_gr ,Num_cr) VALUES ('meriem','0')' at line 1
Partager