Forum Moderators: coopster
Thank you in advance,
Stefan
CREATE TABLE `mp_products_subcategories` (
`ID` int(20) NOT NULL auto_increment,
`cat_parent` int(20) NOT NULL default '0',
`cat_name` varchar(50) collate latin1_general_ci NOT NULL,
`cat_enabled` tinyint(1) NOT NULL default '1',
`cat_link` varchar(150) collate latin1_general_ci NOT NULL default '',
`cat_image` varchar(100) collate latin1_general_ci NOT NULL default '',
`cat_sort` tinyint(3) NOT NULL default '0',
`h_menu_enabled` int(10) NOT NULL default '0',
`show_cat` tinyint(1) NOT NULL default '1',
`cat_description` text collate latin1_general_ci NOT NULL,
`orderinfo` text collate latin1_general_ci NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `cat_name` (`cat_name`)
) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=26 ;
INSERT INTO `mp_products_subcategories` (`ID`, `cat_parent`, `cat_name`, `cat_enabled`, `cat_link`, `cat_image`, `cat_sort`, `h_menu_enabled`, `show_cat`, `cat_description`, `orderinfo`) VALUES
('1', '3', 'IPC Products', '1', 'products.php?page=list&cat=1&name=IPC Products', 'data/IPCProducts/349s.jpg', '4', '0', '1', '', ''),
('2', '3', 'Complete Systems', '1', 'products.php?page=list&cat=2&name=Complete Systems', 'data/CompleteSystems/257b.PNG', '3', '0', '1', '', ''),
('3', '3', 'Chassis', '1', 'products.php?page=list&cat=3&name=Chassis', 'data/Chassis/img45b6c53604e37.gif', '2', '0', '1', 'Test', ''),
('9', '3', 'Index Products', '1', 'products.php?incfile=admin/indexProducts.php', '', '1', '0', '0', '', ''),
('22', '3', 'Power Supplies', '1', 'products.php?page=list&cat=22&name=Power Supplies', '', '5', '0', '1', '', ''),
('23', '3', 'Peripherals', '1', 'products.php?page=list&cat=23&name=Preferables', '', '6', '0', '1', '', '');