Help me for MySQL query error !
#3

Change this...
pawn Код:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players' (`Username`,`Password`,`IP`,`Color`) VALUES ('%e', '%s', '%s', -1)",GetName(playerid),pInfo[playerid][Password],IP[playerid]);
//to this
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players` (`Username`,`Password`,`IP`,`Color`) VALUES ('%e', '%s', '%s', -1)",GetName(playerid),pInfo[playerid][Password],IP[playerid]);
The spot that was causing you issues was

pawn Код:
`players'
//it needs to be
`players`
You had ' instead of ` (Cant thing of what they are called atm....)
Reply


Messages In This Thread
Help me for MySQL query error ! - by VenomMancer - 13.02.2015, 15:07
Re: Help me for MySQL query error ! - by VenomMancer - 14.02.2015, 00:39
Re: Help me for MySQL query error ! - by nickdodd25 - 14.02.2015, 00:59
Re: Help me for MySQL query error ! - by VenomMancer - 14.02.2015, 04:48

Forum Jump:


Users browsing this thread: 1 Guest(s)