![]() |
MySQL Query
Recently I merged a moderator account so they lost all their mod stats. I am trying to run this MySQL query:
PHP Code:
That is my error! Any help? |
It looks like you've used some backticks in there when they should be single quotes. Although I haven't tried it at all, replace() is a string function while userid is an int field, so you might want this instead:
Code:
update moderatorlog set userid = 4 WHERE userid = 90 In fact, if the replace() query works at all, it would replace any 90 with 4, so if you had a moderator 190 or above 900 for instance, it would cause problems.. |
Why are you running queries ? Why cant you just promote them back to moderator ?
|
Quote:
|
All times are GMT. The time now is 07:55 AM. |
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:
|