par
Invité » 29 mars 2007, 20:52
Salut,
J'ai upload ma table:
Code : Tout sélectionner
CREATE TABLE `banniere_table` (
`id` int(11) NOT NULL auto_increment,
`date` varchar(255) collate latin1_general_ci NOT NULL,
`img` varchar(255) collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=5 ;
--
-- Dumping data for table `banniere_table`
--
INSERT INTO `banniere_table` VALUES (1, '12-12-2000', 'banniere.gif');
INSERT INTO `banniere_table` VALUES (2, '13-12-2000', '0dbc5f96fb.gif');
INSERT INTO `banniere_table` VALUES (3, '16-12-2003', '1a69ce3258.gif');
INSERT INTO `banniere_table` VALUES (4, '18-12-2000', '3su8.gif');
tout va bien et quand j'ouvre le fichier php il me donne une erreur:
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 1
si vous avez une idee, merci
Salut,
J'ai upload ma table:
[code]
CREATE TABLE `banniere_table` (
`id` int(11) NOT NULL auto_increment,
`date` varchar(255) collate latin1_general_ci NOT NULL,
`img` varchar(255) collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=5 ;
--
-- Dumping data for table `banniere_table`
--
INSERT INTO `banniere_table` VALUES (1, '12-12-2000', 'banniere.gif');
INSERT INTO `banniere_table` VALUES (2, '13-12-2000', '0dbc5f96fb.gif');
INSERT INTO `banniere_table` VALUES (3, '16-12-2003', '1a69ce3258.gif');
INSERT INTO `banniere_table` VALUES (4, '18-12-2000', '3su8.gif');
[/code]
tout va bien et quand j'ouvre le fichier php il me donne une erreur:
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 1
si vous avez une idee, merci