30.07.2016, 07:45
At the INSERT INTO mysql format, there is something wrong.
You did insert into factionname and factiontype, but you forgot to set a value for the faction type. Try this:
Replace the "factiontype" at the end with your factiontype variable
You did insert into factionname and factiontype, but you forgot to set a value for the faction type. Try this:
PHP код:
mysql_format(mysql,query,sizeof(query), "INSERT INTO `faction` (`factionname`,`factiontype`) VALUES ('%e', '%d')",inputtemysql_format(mysql,query,sizeof(query), "INSERT INTO `faction` (`factionname`,`factiontype`) VALUES ('%e', '%d')",inputtext, factiontype);

