2 pièce(s) jointe(s)
insertion impossible dans la BDD
Bonjour,
je suis entrain de réaliser une application web et mon soucis est le suivant : j'ai créé un formulaire (FormHandler.php) et une page de redirection en cas de validation de données du formulaire (head1.php)
j'ai une base de données "ao" et la connexion est bien faite
Mais quand je saisi les données e si elles sont valides, je suis parfaitement redirigée vers la page head1.php
mais le malheur est que l'insertion n'est pas réussie alors que tous les champs sont corrects a mon avis.
j'ai l'erreur suivante:
Citation:
Notice: Undefined index: nom in C:\wamp\www\k\head1.php on line 10
Notice: Undefined index: prenom in C:\wamp\www\k\head1.php on line 11
Notice: Undefined index: telephone in C:\wamp\www\k\head1.php on line 12
Notice: Undefined index: login in C:\wamp\www\k\head1.php on line 13
Notice: Undefined index: mp in C:\wamp\www\k\head1.php on line 14
Notice: Undefined index: titre in C:\wamp\www\k\head1.php on line 15
Notice: Undefined index: pays in C:\wamp\www\k\head1.php on line 16
Notice: Undefined index: ville in C:\wamp\www\k\head1.php on line 17
Notice: Undefined index: date in C:\wamp\www\k\head1.php on line 18
Notice: Undefined index: email in C:\wamp\www\k\head1.php on line 19
Notice: Undefined index: type in C:\wamp\www\k\head1.php on line 20
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 '','','','')' at line 2
Si vous comprenez mes erreurs , je suis a votre ecoute!
merci d'avance.