MySql errors
#2

Код:
modules/sockets.pwn(430) : error 035: argument type mismatch (argument 1)
Argument 1 is "string". You've maybe created a variable called string, but to format it, you need to define its lenght, example:
PHP код:
new string[128]; 
Now you can format the string.

mysql_format has several arguments:
PHP код:
// formatting an example string
mysql_format(databasestringsizeof(string), "INSERT INTO `databasename` (`kills`) VALUES ('%d')",playerInfo[playerid][Kills] ); 
Reply


Messages In This Thread
MySql errors - by MarkoKraljina - 09.10.2018, 14:21
Re: MySql errors - by v1k1nG - 09.10.2018, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)