How to display a users totals
#1
Hi

I would like to know how to display a users total on their profiles like the total posts but for a different DB table.

I have a table called 'codes' and I have a column for 'username' and I'd like to know the function to use to get a users total codes to display on their profile like total posts. I do have a column in the codes table for 'id' which is the id of every single code.

Thank you
Reply
#2
This user has been denied support. This user has been denied support.
You will need to use count query.
Reply
#3
Duplicate thread: http://community.mybb.com/thread-122246.html
Reply
#4
(2012-07-20, 12:21 PM)Yaldaram Wrote: Duplicate thread: http://community.mybb.com/thread-122246.html

No no, that other one is for the total of the whole forum, this thread is for a users totals.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)