Welcome Guest, Not a member yet? Register   Sign In
MySQL Forum - Tracking Post Count
#2

[eluser]Bogdan Tanase[/eluser]
How about a mysql trigger? on update/delete/insert on "posts" table. On each action do a recount for the user who initiated the trigger.

I've never built a forum, so I'm not sure it's the best way...


Messages In This Thread
MySQL Forum - Tracking Post Count - by El Forum - 01-13-2009, 06:07 AM
MySQL Forum - Tracking Post Count - by El Forum - 01-13-2009, 06:15 AM
MySQL Forum - Tracking Post Count - by El Forum - 01-13-2009, 06:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB