Reset Statistics

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Posts: 14
Joined: Tue Mar 08, 2016 10:49 am

Reset Statistics

Post by terryrogers » Fri Mar 18, 2016 11:19 am

How can I reset the statistics and votes system wide prior to launching our system to our customers?

Posts: 15076
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: Reset Statistics

Post by Thorsten » Sat Mar 19, 2016 11:05 am


phpMyFAQ 2.9 supports that out of the box, when using phpMyFAQ 2.8 you will need 2 queries:

Code: Select all

UPDATE faqvisits SET visits = 1, last_visit = TIMESTAMP;
DELETE FROM faqvoting;
phpMyFAQ Maintainer and Lead Developer Wishlist

Post Reply