1 2 3 4 5
| $pdo = new PDO ('mysql:host=localhost;dbname=tabase', 'login', 'motdepasse');
$sth = $pdo->prepare('INSERT INTO Waranty (Prénom,Nom,Mail,TEL,société,Adresse1,Adresse2,Pays,Région,Ville,CP,Matériel,Marque,Type,SN,Certificat) VALUES
(:nom, :prenom, :mail, :tel, :societe, :adresse1, :adresse2, :pays, :region, :ville, :cp, :materiel, :marque, :type, :sn, :certificat)');
$sth->execute(array($Nom,$Prenom,$Mail,$TEL,$société,$Adresse1,$Adresse2,$Pays,$Région,$Ville,$CP,$Matériel,$Marque,$Type,$SN,$Certificat)); |
Partager