Mysql Trying 3 cases
#10

pawn Код:
new unbanon=gettime()+BanInfo[ServerInfo[sCurrentBanID]][BanExpire];
    mysql_format(g_SQL, string, sizeof(string),
    "UPDATE bans SET banby='%e',bannick='%e', banip='%e',banexpire=%d, banned=%d, banperma=%d, bandate=NOW() WHERE banid=%d LIMIT 1",
    BanInfo[ServerInfo[sCurrentBanID]][BanBy],
    BanInfo[ServerInfo[sCurrentBanID]][BanNick],
    BanInfo[ServerInfo[sCurrentBanID]][BanIP],
    unbanon,
    BanInfo[ServerInfo[sCurrentBanID]][Banned],
    BanInfo[ServerInfo[sCurrentBanID]][BanPerma],
    ServerInfo[sCurrentBanID]);
even did this code still no error in log and not even updating
Tried it setting banexpire type as timestamp and bigint both way it won't work
Reply


Messages In This Thread
Mysql Trying 3 cases - by AroseKhanNiazi - 01.07.2015, 12:55
Re: Mysql Trying 3 cases - by Suicidal.Banana - 01.07.2015, 13:08
Re: Mysql Trying 3 cases - by AroseKhanNiazi - 01.07.2015, 15:14
Re: Mysql Trying 3 cases - by Prokill911 - 01.07.2015, 15:41
Re: Mysql Trying 3 cases - by Suicidal.Banana - 01.07.2015, 16:32
Re: Mysql Trying 3 cases - by AroseKhanNiazi - 01.07.2015, 18:29
Re: Mysql Trying 3 cases - by Suicidal.Banana - 01.07.2015, 19:04
Re: Mysql Trying 3 cases - by AroseKhanNiazi - 01.07.2015, 19:41
Re: Mysql Trying 3 cases - by Suicidal.Banana - 01.07.2015, 21:41
Re: Mysql Trying 3 cases - by AroseKhanNiazi - 02.07.2015, 12:19

Forum Jump:


Users browsing this thread: 8 Guest(s)