[MYSQL] Rank saving problem.
#7

pawn Код:
case DIALOG_RANK2:
{
    new query[400];
    format(Factions[PlayerInfo[playerid][Faction]][Rank2], MAX_PLAYER_NAME, "%s", inputtext);
    format(query, sizeof(query), "UPDATE Factions SET Rank2 = '%s' WHERE ID = %d", inputtext, PlayerInfo[playerid][Faction]);
    mysql_query(query);
}
Edit: If the column is named SQLID then instead of ID put SQLID
Reply


Messages In This Thread
[MYSQL] Rank saving problem. - by tiernantheman - 30.11.2012, 13:39
Re: [MYSQL] Rank saving problem. - by Vince - 30.11.2012, 13:42
Re: [MYSQL] Rank saving problem. - by Djole1337 - 30.11.2012, 13:43
Re: [MYSQL] Rank saving problem. - by tiernantheman - 30.11.2012, 13:45
Re: [MYSQL] Rank saving problem. - by JJones432 - 30.11.2012, 13:49
Re: [MYSQL] Rank saving problem. - by tiernantheman - 30.11.2012, 13:51
Re: [MYSQL] Rank saving problem. - by InfiniTy. - 30.11.2012, 13:52
Re: [MYSQL] Rank saving problem. - by tiernantheman - 30.11.2012, 13:59

Forum Jump:


Users browsing this thread: 2 Guest(s)