emploze | Bonjour
Resource id #3Erreur SQL !
INSERT INTO `machine` (NomnetBIOS, OS, Licence OS, Office, Licence Office, Etat, Date_achat, Processeur, Nompersonnel, Nomservice) VALUES ('ZZZZZ','ZZZZ','ZZZZ','ZZZ','ZZZZ','ZZZZ','02020258','ZZ','ZZ','', )
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OS, Office, Licence Office, Etat, Date_achat, Processeur, Nomper
Code :
- $REQUETE = "INSERT INTO `machine` (NomnetBIOS, OS, Licence OS, Office, Licence Office, Etat, Date_achat, Processeur, Nompersonnel, Nomservice)
- VALUES ('".$_POST['NomnetBIOS']."','".$_POST['OS']."','".$_POST['LicOS']."','".$_POST['Office']."','".$_POST['LicOS']."','".$_POST['Etat']."','".$_POST['Date_achat']."','".$_POST['Processeur']."','".$_POST['Nompersonnel']."','".$_POST['Nomservice']."', )";
|
Message édité par emploze le 01-06-2007 à 10:55:19
|