CREATE TABLE sondage_reponses (
id smallint(5) unsigned NOT NULL,
reponse tinytext NOT NULL,
IdSondage tinytext NOT NULL,
vote int(11) ,
PRIMARY KEY (id)
);
#
# Dumping data for table \'reponses\'
#
INSERT INTO sondage_reponses VALUES ( \'1\', \'Ma sorcière bien-aimée\', \'halloween_degui\', \'0\');
INSERT INTO sondage_reponses VALUES ( \'2\', \'Un Vampire assoiffé de sang\', \'halloween_degui\', \'0\');
INSERT INTO sondage_reponses VALUES ( \'3\', \'Un lutin au fond des bois\', \'halloween_degui\', \'0\');
INSERT INTO sondage_reponses VALUES ( \'4\', \'La grosse citrouille de service\', \'halloween_degui\', \'0\');
Voila l'erreur que me sort mysql:
MySQL said: You have an error in your SQL syntax near '1', 'Ma sorcière bien-aimée', 'halloween_degui', '0'); INSERT INTO sondage_repo' at line 1
---------------
When in doubt.... reboot