Ok let me see:
[CODE=mysql]--
-- Table structure for table `items`
--
CREATE TABLE `items` (
`itemid` int(10) unsigned NOT NULL default '0',
`title` varchar(255) default NULL,
`directions` text,
`userid` int(10) unsigned default NULL,
`rating` int(10) unsigned default '0',
`categoryid` int(10) unsigned default NULL,
`date` varchar(20) NOT NULL default '',
`story` text,
`hits` int(10) unsigned default '0',
`status` char(1) default 'W',
`gameinfo` text,
`gamerating` text,
`publisher` text,
`genar` text,
PRIMARY KEY (`itemid`),
UNIQUE KEY `recipieid` (`itemid`),
KEY `recipieid_2` (`itemid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/CODE]
Ut oh, i see an error, it should be itemid not recipe?
[CODE=mysql]--
-- Table structure for table `items`
--
CREATE TABLE `items` (
`itemid` int(10) unsigned NOT NULL default '0',
`title` varchar(255) default NULL,
`directions` text,
`userid` int(10) unsigned default NULL,
`rating` int(10) unsigned default '0',
`categoryid` int(10) unsigned default NULL,
`date` varchar(20) NOT NULL default '',
`story` text,
`hits` int(10) unsigned default '0',
`status` char(1) default 'W',
`gameinfo` text,
`gamerating` text,
`publisher` text,
`genar` text,
PRIMARY KEY (`itemid`),
UNIQUE KEY `recipieid` (`itemid`),
KEY `recipieid_2` (`itemid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/CODE]
Ut oh, i see an error, it should be itemid not recipe?
Comment