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 » 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?

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

Re: Reset Statistics

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

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