help mysql
#1

helppp

error:
Quote:

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`rango1' at line 1 - Callback - OnQueryFinish - Query: INSERT INTO `faccion`(`nombre`, `numero`, `rango1

Quote:

stock crearusefacc(playerid)
{
new pName[24], Query[50];
GetPlayerName(playerid, pName, 24);
format(Query, sizeof(Query), "INSERT INTO `faccion`(`nombre`, `numero`, `rango1`) VALUES (%s, %d, %d)", pName, UserInfo[playerid][pFaccion], UserInfo[playerid][rank]);
mysql_function_query(Conecction, Query, true, "OnQueryFinish", "ii", 0, playerid);
return 1;
}

Reply


Messages In This Thread
help mysql - by capottematias - 10.06.2015, 21:03
Re: help mysql - by Konstantinos - 10.06.2015, 21:06
Respuesta: Re: help mysql - by capottematias - 11.06.2015, 13:43
Re: help mysql - by mamorunl - 11.06.2015, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)