jlr2k8 Posted June 8, 2007 Share Posted June 8, 2007 So basically I'm trying to create a forum... and I've figured almost everything out except for this. Ok, so you know how the home page has all the categories listed? Then under each category is a topic (or sub-category)? How do you list categories, and its sub-categories? Is it an SQL statement, or a PHP script? Quote Link to comment https://forums.phpfreaks.com/topic/54732-hmmm-its-probably-obvious-but-i-cant-figure-it-out/ Share on other sites More sharing options...
B34ST Posted June 8, 2007 Share Posted June 8, 2007 have you used a database to store the categories? if so simply add a column to the sub category table (catid or similar) then pull it out of the db with your category. Quote Link to comment https://forums.phpfreaks.com/topic/54732-hmmm-its-probably-obvious-but-i-cant-figure-it-out/#findComment-270713 Share on other sites More sharing options...
jlr2k8 Posted June 8, 2007 Author Share Posted June 8, 2007 Hmmm..... not sure if I understand that. Could u maybe show me an example? Quote Link to comment https://forums.phpfreaks.com/topic/54732-hmmm-its-probably-obvious-but-i-cant-figure-it-out/#findComment-271042 Share on other sites More sharing options...
accident Posted June 8, 2007 Share Posted June 8, 2007 do you mean your writing your own forum software? or are you just trying to install PHPBB or some similar forum? Quote Link to comment https://forums.phpfreaks.com/topic/54732-hmmm-its-probably-obvious-but-i-cant-figure-it-out/#findComment-271087 Share on other sites More sharing options...
jlr2k8 Posted June 10, 2007 Author Share Posted June 10, 2007 Writing my own. Quote Link to comment https://forums.phpfreaks.com/topic/54732-hmmm-its-probably-obvious-but-i-cant-figure-it-out/#findComment-271711 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.