CREATE TABLE `categories` ( `cat_id` int(11) NOT NULL auto_increment, `cat_name` varchar(255) NOT NULL, `cat_desc` longtext NOT NULL, `cat_image` varchar(255) NOT NULL, `cat_father` int(11) NOT NULL, `cat_active` varchar(100) NOT NULL, `cli_id` int(11) NOT NULL, `com_id` int(11) NOT NULL, PRIMARY KEY (`cat_id`) ) ENGINE=MyISAM ;