PDA

View Full Version : Display ??


Bald Bouncer
10-20-2001, 12:06 PM
how do I display the amount of replies a user has made under a certain category?

Admin
10-20-2001, 12:11 PM
This is the general query:
SELECT COUNT(postid) AS posts FROM post LEFT JOIN thread USING (threadid) WHERE thread.forumid='xx' AND post.userid='xx'
Where xx is the Forum ID, and xx is the User ID.

Bald Bouncer
10-20-2001, 12:19 PM
Thanks for the fast reply :D

Bald Bouncer
10-20-2001, 12:49 PM
oops sorry mate made a mistake the way I phrased it

I need to display the amount of replies a user has made under a certain catagory in there postbit

so i need it for me then one user, if possible

cheers

Bald Bouncer
10-20-2001, 03:01 PM
lets try and simplify what Im saying

I need to show how many replies a user has made in a certain forum in their postbit (left of the post)

Bald Bouncer
10-20-2001, 07:00 PM
can this not be done boys?