Ошибка!!!
Ваш SQL - запрос
не был выполнен.
Причина ошибки:
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 'INSERT INTO `awards` (`id`, `name`, `desc`, `user_id`, `time`, `img`) VALUES (1' at line 11
Кто может исправить?
CREATE TABLE IF NOT EXISTS `awards` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(50) NOT NULL,
`desc` varchar(150) NOT NULL,
`user_id` int(11) NOT NULL,
`time` int(11) NOT NULL,
`img` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
INSERT INTO `awards` (`id`, `name`, `desc`, `user_id`, `time`, `img`) VALUES
(11, 'Jane', 'J
', 1, 1322725857, 1322725857),
(8, 'Jane', 'E
', 1, 1322725804, 1322725804),
(9, 'Jane', 'n
', 1, 1322725826, 1322725826),
(10, 'Jane', 'a
', 1, 1322725842, 1322725842);
CREATE TABLE IF NOT EXISTS `award_users` (
`id` int(11) NOT NULL auto_increment,
`id_award` int(11) NOT NULL,
`id_user` int(11) NOT NULL,
`id_who` int(11) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
Пожалуйста