Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

Counting User Post Count ?

$
0
0
I didn't think this was going to be so tricky. Basically I have two tables in my mysql database (user, comments). Each table has the users id. I simply just want to count how many posts/comments each user has and then place it in the user table, in a field called 'postnumber'. Can anyone guide me in the right direction on how I can achieve this ? I've searched the net but haven't found any useful information.

Thanks in Advance !!

Viewing all articles
Browse latest Browse all 42225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>