PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How can I make the code so that the forum with cat 2 will come out in a different catagory BUT when I add more forums with that catagory, the catagory doesnt repeat
This is pretty much liek the way phpBB's forum display is structured
Hey Tucker, I don't want to knitpick but it is difficult to answer you question because you use very unspecific terms.:
"How can I make the code so that the forum with cat 2 will come out in a different catagory BUT when I add more forums with that catagory, the catagory doesnt repeat "
make the code - do you simple mean "program it" or more specifically something like "build display code" or "program the code in the loop fetching the category records", etc?
come out in a different catagory - do you mean "displayed separately" or "added to an array as as different category", etc?
that catagory - meaning "cat 1" or 'cat 2"?
repeat - do you mean "displayed only once" or "not displayed twice one after the other" or "not sorted", etc?
It is not even clear whether you are fetching records from the category or forum table? People would like to help, but you need to be specific enough so they can spend their valuable time answering your question -- not trying to understand what you are asking.