19.09.2012, 08:44
You cannot use the WHERE clause in an INSERT statement.
Either use this:
Or use the UPDATE statement.
Either use this:
pawn Код:
format(mysqlquery,sizeof(mysqlquery),"INSERT INTO `Users` (`pBanned`,`pBannedReason`,`pBannedBy`) VALUES ('%s','%s','%s')",bvar,reason,PlayerName(playerid));
mysql_query(mysqlquery);