Insertion dans une base de données depuis un formulaire
	
	
		bonjour, j'ai encore besoin d'un petit coup de main!! 
J'essaie d'ajouter des usagers a ma table tblusers depuis un formlaire d'inscription, mais rien ne fonctionne.
	Code:
	
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
   | if (isset($_POST['cmdInscription']))
                {
                    //Si cmdInscription activé, traite ceci,
                    //REQUETE insert profil complet de l'usager tblusers
                    $RequeteInsertProfilUser = "INSERT INTO tblusers (Prenom,Nom,User,Password,Sexe,Ville,Pays,Langue)
                                                VALUES ('$_POST[txtModificationPrenom]',
                                                '$_POST[txtModificationNom]',
                                                '$_POST[txtModificationUser]',
                                                '$_POST[passwordModification]',
                                                '$_POST[radioModificationSexe]',
                                                '$_POST[txtModificationVille]',
                                                '$_POST[txtModificationPays]',
                                                '$_POST[listModificationLangue]')";
 
                    //Assignation de la base de donnée
                    $dbselectedprojet = mysql_select_db ('dbprojet',$connexion);
 
                    //Envoi de $RequeteInsertProfilUser au serveur de données
                    mysql_query ($RequeteInsertProfilUser) or die(mysql_error());; | 
 Voila pour ma requête et voici mon form:
	Code:
	
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
   | $frmModificationProfil = "<form name=\"frmModificationProfil\" action=\"".$_SERVER['PHP_SELF']."\" method=\"POST\">";
 
        //Ouverture tableau
        $frmModificationProfil .= "<table align=\"center\" border=\"5\" bordercolor=\"#000000\">";
 
            //Colonne Nom Ùsager
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Nom d'Usager:</b></td>
                                            <td><input type=\"text\" name=\"txtModificationUser\" value=\"".$Arrayaffichagetblusers['User']."\"></td>
                                      </tr>";
 
            //Colonne Password                                  
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Password:</b></td>
                                            <td><input type=\"password\" name=\"passwordModification\" value=\"".$Arrayaffichagetblusers['Password']."\"></td>
                                      </tr>";
 
            //Colonne Confirmation Password                         
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Confirmation password:</b></td>
                                            <td><input type=\"password\" name=\"passwordModificationConfirmation\" value=\"".$Arrayaffichagetblusers['Password']."\"></td>
                                      </tr>";
 
            //Colonne Prénom                          
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Prénom:</b></td>
                                            <td><input type=\"text\" name=\"txtModificationPrenom\" value=\"".$Arrayaffichagetblusers['Prenom']."\"></td>
                                      </tr>";
 
            //Colonne Nom                          
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Nom:</b></td>
                                            <td><input type=\"text\" name=\"txtModificationNom\" value=\"".$Arrayaffichagetblusers['Nom']."\"></td>
                                      </tr>";
 
            //Colonne Sexe                         
            $frmModificationProfil .= "<tr>
                                           <td align=\"center\"><b>Sexe:</b></td>
                                           <td><input type=\"radio\" name=\"radioModificationSexe\" value=\"Homme\" $valueRadioHomme>Homme
                                               <input type=\"radio\" name=\"radioModificationSexe\" value=\"Femme\" $valueRadioFemme>Femme</td>
                                      </tr>";
 
            //Colonne Ville                          
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Ville:</b></td>
                                            <td><input type=\"text\" name=\"txtModificationVille\" value=\"".$Arrayaffichagetblusers['Ville']."\"></td>
                                      </tr>";
 
            //Colonne Pays                          
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Pays:</b></td>
                                            <td><input type=\"text\" name=\"txtModificationPays\" value=\"".$Arrayaffichagetblusers['Pays']."\"></td>
                                      </tr>";
 
            //Colonne Langues                          
            $frmModificationProfil .= "<tr>
                                            <td align=\"center\"><b>Langues:</b></td>
                                            <td><select name=\"listModificationLangue\" style=\"width:146px\">
                                                    <option value=\"Français\" $valueListFranais>Français</option>
                                                    <option value=\"Anglais\" $valueListAnglais>Anglais</option>
                                                    <option value=\"Espagnol\" $valueListEspagnol>Espagnol</option>
                                                    <option value=\"Autres\" $valueListAutres>Autres</option>
                                                </select></td>
                                      </tr>";
 
            //Fermeture tableau                           
            $frmModificationProfil  .= "</table>";
 
    //Affichage bouton submit cmdModification     
    $frmModificationProfil .= "<div align=\"center\"><input type=\"submit\" name=\"cmdModification\" value=\"Enregistrer Profil\" style=\"width:250px\"></div>";
 
    $frmModificationProfil .= "</form>"; | 
 Je n'ai aucune erreur lors de l'exécution de ma requete.
J'ai teste ma requete via phpmyadmin et elle fonctionne parfaitement.
C'est probablement qu'une erreur de synthaxe... comme d'habitude koi!!:D
Merci pour le coup de main!!