PDA

View Full Version : Counting created threads in a specific Forum?


Bad666
08-09-2002, 04:14 PM
Is this possible?

Should count like this
Threads in Forum 1: 10
Threads in Forum 2: 15

Underneath the Location in the Postings........

Any Ideas?

Bad666
08-12-2002, 11:27 AM
No ideas?

[D]Vincent
08-12-2002, 11:32 AM
Probably is possible, if you can't already do it. Never actually wanted to do this so I don't know.

treszoks
08-12-2002, 02:09 PM
Here's an example query to get you started. This will give you the number of threads started by a particular user in a particular forum.
select count(*) from thread where postuserid='$userid' and forumid='$forumid';