Nothxbye
Banned User
- Joined
- Jan 22, 2012
- Messages
- 1,124
- Reaction score
- 173
Hello,
I've got loop:
"Print" returns:
1
2
3
4
But the "db.query" in database returns
1
1
1
1
Why it happens?
I've got loop:
Code:
for i = 1, 4 do
print(i)
db.query("UPDATE `player_items` SET `serialId` = "..i.." WHERE `serialId` = 0")
end
"Print" returns:
1
2
3
4
But the "db.query" in database returns
1
1
1
1
Why it happens?