TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 252
  • Total: 252

TinyPortal Downloads

Started by bfeo, October 02, 2008, 08:32:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ianedres

#10
Remove the trailing comma before the WHERE statement...

UPDATE smf_tp_dlmanager SET downloads=0, views=0 WHERE type="dlitem";

@ich : $sqlfoo-- :buck2:

IchBin

Good catch Ianedres.

$ianedres_ego++

:2funny:

bfeo

It appears to not delete the item completely, including leaving file size.  All it appeared to do was reset number of times downloaded for every file to 0.

IchBin

Well, if you have random items that aren't there, but are included in your stats, you'll probably have to go through your table and delete each row that you don't want there.

This website is proudly hosted on Crocweb Cloud Website Hosting.