MySQL doesn't update the row/s -.-
#1

Код:
#define MAX_CNAME 5;
clanData[playerid][cd_cLeader] = 1;
format(clanData[playerid][cd_cName], MAX_CNAME, "%s", inputtext);

mysql_format(gGameConnection, Query, sizeof(Query), "UPDATE `accounts` SET (`cname`, `cleader`) VALUES ('%e', '%i') WHERE `name` = '%e';", inputtext, clanData[playerid][cd_cLeader], ReturnPlayerName(playerid));
mysql_tquery(gGameConnection, Query);
The cmd is working without an AI row but I need the AI row for my player ids. Always if I try to use "WHERE" mysql seems to be not to know where it has to add the data.
Reply


Messages In This Thread
MySQL doesn't update the row/s -.- - by Doddinger - 22.09.2018, 20:58
Re: MySQL doesn't update the row/s -.- - by solstice_ - 22.09.2018, 21:26
Re: MySQL doesn't update the row/s -.- - by Gammix - 22.09.2018, 21:32
Re: MySQL doesn't update the row/s -.- - by Doddinger - 22.09.2018, 21:34
Re: MySQL doesn't update the row/s -.- - by solstice_ - 22.09.2018, 21:34
Re: MySQL doesn't update the row/s -.- - by Gammix - 22.09.2018, 21:37
Re: MySQL doesn't update the row/s -.- - by solstice_ - 22.09.2018, 21:38
Re: MySQL doesn't update the row/s -.- - by Doddinger - 22.09.2018, 21:39
Re: MySQL doesn't update the row/s -.- - by solstice_ - 22.09.2018, 21:40
Re: MySQL doesn't update the row/s -.- - by Doddinger - 22.09.2018, 21:41

Forum Jump:


Users browsing this thread: 3 Guest(s)