MYSQL Saving problem
#2

Your problem is ' '.

Try:

format(string, sizeof(string), "UPDATE playerdata SET Division = %d WHERE Name = '%s'", pInfo[playerid][pDivision], name)

You can to put ' ' just for strings, example: '%s'. Also, is wrong to put ' ' for numbers, right is: %d.

I had same trouble, but I solved it.

Sorry for my English, I know a little.

Have a nice day!
Reply


Messages In This Thread
MYSQL Saving problem - by McGuiness - 30.05.2015, 14:01
Re: MYSQL Saving problem - by DevaBeast - 30.05.2015, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)