Heh, perhaps I should have explained a little better..
I'm displaying the output in a select box, but I want to categorise the
<option>s with
<optgroup>s.
So effectively..
[high]BEFORE:[/high]
Article 3
Article 2
Article 1
[high]AFTER:[/high]
Category A
Article 3
Article 1
Category B
Article 2
Although you're right, I will need to add that to the query.!
[high]---EDIT---[/high]
I've done it by adding a count for every forumid for now..
It's kinda dirty though, so if anyone has a better way - I'd love to hear it.!