from what i can see it needs to tables, `cats` and `links`. what we don't see is the names of the fields inside the cats table, or the constraints on the fields in the links table. It would be kinda tricky.. backups are your friend
TRY THIS:
PHP Code:
CREATE TABLE `cats` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE `links` (
`id` int(11) NOT NULL auto_increment,
`lrss` varchar(255) NOT NULL default '',
`site` varchar(255) NOT NULL default '',
`lback` varchar(255) NOT NULL default '',
`title` varchar(255) NOT NULL default '',
`description` varchar(255) NOT NULL default '',
`cat` int(11) NOT NULL,
`name` varchar(255) NOT NULL default '',
`mail` varchar(255) NOT NULL default '',
`date` date NOT NULL default '0000-00-00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
if this doesn't work, try changing the cat field to varchar, or the date field to datetime.