News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

How can I reset the statistics of the Topic views to zero?

Started by ^SoporteGSM^, August 29, 2020, 07:56:28 PM

Previous topic - Next topic

^SoporteGSM^

I want to reset to zero only the statistics of the views of the topics

how can I do it?

-Rock Lee-

I leave the solution here too in case someone else needs it, a SQL query must be made via PHPMyAdmin with the following:

UPDATE `xx_topics` SET `num_views`= 0 WHERE 1

If everything is correct the affected rows should be output, if it fails ensure that the table is named is correct.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Advertisement: