SQLite Ban System
#8

INSERT INTO `Bans` SET `BanUserName` = '%s',`BanUserIp` = '%s',`BanAdministratorName` = '%s',`BanReason` = '%s',`BanTime` = '%i'


INSERT INTO `Bans`(BanUserName, BanUserIp, BanAdministratorName, BanReason, BanTime) VALUES ('%s', '%s', '%s', '%s', '%d')

This is your query fixed

--

INSERT INTO bans (time, reason, nickname) VALUES ('%d', '%s', '%s')

This is the correct query if you want to add into "bans" table
( time, reason, nickname ) -> where add values?
( values ) -> values
Reply


Messages In This Thread
SQLite Ban System - by Hervest1998 - 28.07.2012, 06:23
Re: SQLite Ban System - by ReneG - 28.07.2012, 06:42
Re: SQLite Ban System - by Hervest1998 - 28.07.2012, 06:43
Re: SQLite Ban System - by Hervest1998 - 28.07.2012, 07:17
Re: SQLite Ban System - by Hervest1998 - 28.07.2012, 10:01
Re: SQLite Ban System - by ReVo_ - 28.07.2012, 13:19
Re: SQLite Ban System - by Hervest1998 - 28.07.2012, 13:53
Re: SQLite Ban System - by ReVo_ - 28.07.2012, 14:14

Forum Jump:


Users browsing this thread: 2 Guest(s)