Reset Statistics

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

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

Reset Statistics

Post by terryrogers »

How can I reset the statistics and votes system wide prior to launching our system to our customers?
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Reset Statistics

Post by Thorsten »

Hi,

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;
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply