xcoderx Posted July 26, 2010 Share Posted July 26, 2010 guys help plan with categories thing, the idea is Category 100 words description in text Subcategory name with link to next page-> post under subcategory with link to post details for next page again. i need the table structure for it but not being able to do it in subcategory there will title, place, date/time, description etc. anyone could design the structure please? Link to comment https://forums.phpfreaks.com/topic/208899-help-design-the-structure-if-anyone-can-please/ Share on other sites More sharing options...
xcoderx Posted July 26, 2010 Author Share Posted July 26, 2010 is this the righy way im doing? -- -- Table structure for table `class_category` -- CREATE TABLE IF NOT EXISTS `class_category` ( `category_id` int(11) NOT NULL AUTO_INCREMENT, `category_name` varchar(100) NOT NULL, `category_description` text NOT NULL, PRIMARY KEY (`category_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `class_category` -- -- -------------------------------------------------------- -- -- Table structure for table `class_users` -- CREATE TABLE IF NOT EXISTS `class_users` ( `identity` bigint(20) NOT NULL AUTO_INCREMENT, `user_name` varchar(20) NOT NULL, `password` varchar(20) NOT NULL, `f_name` varchar(30) NOT NULL, `l_name` varchar(30) NOT NULL, `email` varchar(50) NOT NULL, `user_auth` varchar(5) NOT NULL, `date` datetime NOT NULL, PRIMARY KEY (`identity`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `class_users` -- Link to comment https://forums.phpfreaks.com/topic/208899-help-design-the-structure-if-anyone-can-please/#findComment-1091183 Share on other sites More sharing options...
fenway Posted July 28, 2010 Share Posted July 28, 2010 I don't see a hierarchy anywhere. Link to comment https://forums.phpfreaks.com/topic/208899-help-design-the-structure-if-anyone-can-please/#findComment-1092020 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.