mySQL error
#3

pawn Code:
mysql_format(MySQL, query, sizeof(query), "INSERT INTO `accounts` (`Name`, `Password`, `IP`, `personalmsg`, `Admin`, `Money`, `Money`) VALUES ('%e', '%e', '%e', '%e', '0','%d')", Name[playerid], PlayerInfo[playerid][Password], playerip[playerid], PlayerInfo[playerid][personalmsg], PlayerInfo[playerid][Money]);
            printf(query);
You must do '0' instead of 0

EDIT:

Quote:
Originally Posted by AndreiWow
View Post
By the way, no need for
PHP Code:
'%d' 
, just
PHP Code:
%
, it is not a string
Are you sure?
Reply


Messages In This Thread
mySQL error - by DerickClark - 23.03.2019, 17:37
Re: mySQL error - by AndreiWow - 23.03.2019, 21:38
Re: mySQL error - by solstice_ - 23.03.2019, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)