[Question] PHP Function

11/06/2009 17:02 BloofyGirl#1
Hi, is there is a function to add cps like UPDATE characters set cps +1111111 or some thing?
best wishes.
11/06/2009 17:05 damianpesta#2
Quote:
Originally Posted by BloofyGirl View Post
Hi, is there is a function to add cps like UPDATE characters set cps +1111111 or some thing?
best wishes.
Yep same as any other.. just use common sense UPDATE character where cps blah blah blah...
11/06/2009 17:18 BloofyGirl#3
Thanks you for your fast replay ill try it now.
DOESN'T work! ...
please replay :D
11/06/2009 17:37 Fish*#4
It is like he says, make sure you do it right.
Just make it like when adding something other,then just edit it to CPs
11/06/2009 17:53 BloofyGirl#5
i test it like for gold ....
"UPDATE characters SET money = '+11000' WHERE name = 'cakob'"
11/06/2009 18:20 Fish*#6
okay damn :S
11/06/2009 19:22 Basser#7
I think it's something like this
Code:
UPDATE characters SET Money = Money + 1000 WHERE Name ='$ID'
11/07/2009 02:34 damianpesta#8
Quote:
Originally Posted by Smythe94 View Post
I think it's something like this
Code:
UPDATE characters SET Money = Money + 1000 WHERE Name ='$ID'
Code:
UPDATE characters WHERE Name ='$ID'  SET Money = Money + 1000
thats the right one.