ça ne fonctionne pas
$requete="INSERT INTO stats";
$requete.="(gender,age,town,ability_conversation,ability_read,conversation,reading_columns,reading_newspapers,reading_books,irish_tv,irish_radio,other_irish_radio,irish_home,workplace_irish_read,workplace_irish_speak,workplace_irish_hear,irish_religious_services,social_networks_use_irish,social_networks_irish_children,social_networks_irish_friends,leisure_events_music,leisure_events_dances,leisure_events_sports,leisure_events_associations,leisure_events_clubs,leisure_events_parties,leisure_events_others,interpersonnal_use_irish,bilingualism,spoken_english,spoken_english_accent,spoken_english_alike,policy_preferences,attitudes_revival,attitudes_irish_speaking,attitudes_without_irish,attitudes_irish_culture,attitudes_independent,education_subjects,education_learn,";
$requete.="education_school,education_children,education_foreign,education_science,stop_irish,school_english,school_irish,school_more_english,school_equal,school_more_irish,school_all_irish,school_no_opinion,government,fail_exams,compulsory_exams,compulsory_certificate,qualification_university,qualification_teacher,qualification_college,importance_language,importance_child,importance_educ,irish_school,child_future,child_education,more_irish,talk_irish,communication,com_tobe,child_activities,whyirishscholl,contact)";
$requete.=" VALUES (\"$gender\",\"$age\",\"$town\",\"$ability_conversation\",\"$ability_read\",\"$conversation\",\"$reading_columns\",\"$reading_newspapers\",\"$reading_books\",\"$irish_tv\",\"$irish_radio\",\"$other_irish_radio\",\"$irish_home\",\"$workplace_irish_read\",\"$workplace_irish_speak\",\"$workplace_irish_hear\",\"$irish_religious_services\",\"$social_networks_use_irish\",\"$social_networks_irish_children\",\"$social_networks_irish_friends\",\"$leisure_events_music\",\"$leisure_events_dances\",\"$leisure_events_sports\",";
$requete.="\"$leisure_events_associations\",\"$leisure_events_clubs\",\"$leisure_events_parties\",\"$leisure_events_others\",\"$interpersonnal_use_irish\",\"$bilingualism\",\"$spoken_english\",\"$spoken_english_accent\",\"$spoken_english_alike\",\"$policy_preferences\",\"$attitudes_revival\",\"$attitudes_irish_speaking\",\"$attitudes_without_irish\",\"$attitudes_irish_culture\",\"$attitudes_independent\",\"$education_subjects\",\"$education_learn\",";
$requete.=" \"$importance_language\",\"$importance_child\",\"$importance_educ\",\"$irish_school\",\"$child_future\",\"$child_education\",\"$more_irish\",\"$talk_irish\",\"$communication\",\"$com_tobe\",\"$child_activities\",\"$whyirishscholl\",\"$contact\" )";
mysql_query($requete,$connexion);
j'ai pas de message d'erreur mais rien n'est placé dans la base de donnée
pourtant tout fonctionne quand j'écris une requette bcp plus courte sur une ligne ![:sweat: :sweat:](https://forum-images.hardware.fr/icones/smilies/sweat.gif)
Message édité par pixedelisme le 20-08-2006 à 17:33:00