ive uploaded this w5cTOP.zip toplist but getting an error when i upload the sql this is sql is it complete or anything missing
CREATE TABLE `cats` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`dscr` varchar(100) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
);
--
-- Dumping data for table `cats`
--
-- --------------------------------------------------------
--
-- Table structure for table `misc`
--
CREATE TABLE `misc` (
`id` int(10) NOT NULL auto_increment,
`dscr` varchar(200) NOT NULL default '',
`text` varchar(250) NOT NULL default '',
PRIMARY KEY (`id`)
);
--
-- Dumping data for table `misc`
--
INSERT INTO `misc` VALUES (1, 'CLR', '2006-04-01');
-- --------------------------------------------------------
--
-- Table structure for table `sites`
--
CREATE TABLE `sites` (
`id` int(10) NOT NULL auto_increment,
`sitename` varchar(30) NOT NULL default '',
`cid` int(10) NOT NULL default '0',
`sitelink` varchar(200) NOT NULL default '',
`slogo` varchar(200) NOT NULL default '',
`uid` int(10) NOT NULL default '0',
`hin` int(10) NOT NULL default '0',
`hout` int(10) NOT NULL default '0',
`dhits` int(10) NOT NULL default '0',
`thits` int(12) NOT NULL default '0',
`banned` int(5) NOT NULL default '0',
`dscr` varchar(200) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `sitelink` (`sitelink`)
);
--
-- Dumping data for table `sites`
--
-- --------------------------------------------------------
--
-- Table structure for table `tusers`
--
CREATE TABLE `tusers` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`pass` varchar(60) NOT NULL default '',
`admin` int(5) NOT NULL default '0',
`banned` int(5) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
and this is what it telling me once it uploads
Error
SQL query:
--
-- Dumping data for table `sites`
--
-- --------------------------------------------------------
--
-- Table structure for table `tusers`
--
CREATE TABLE `tusers` (
`id` int( 10 ) NOT NULL AUTO_INCREMENT ,
`name` varchar( 30 ) NOT NULL default '',
`pass` varchar( 60 ) NOT NULL default '',
`admin` int( 5 ) NOT NULL default '0',
`banned` int( 5 ) NOT NULL default '0',
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `name` ( `name` )
MySQL said:
#1064 - 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 8