![]() |
Changing a thread's rating via SQL execution
How would I reset a thread's rating to 0 executing a sql query?
any help would be really appreciated thanks :) |
[sql]
UPDATE threadrate SET vote=0 WHERE threadid=x; [/sql] Not entirely sure, wait for some more replies. |
ok I will thanks :)
|
tried it say it affected 40 rows but the rating still in the thread :( any tips?
|
should be this query:
Code:
UPDATE thread SET votetotal = '0' WHERE threadid = 'X'; |
All times are GMT. The time now is 03:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|