Help With MySQL Ban List Script
#9

Try replacing the string with this one:
pawn Код:
"INSERT INTO bans (Name, Reason, Admin, IP) VALUES('%s','%s','%s','%s')"
Table names should not have quotes, and you had made 2 strings:
pawn Код:
"This is a string, inside quotes "no string here" another string here"
"INSERT INTO `"bans"` (Name, Reason, Admin, IP) VALUES ('%s','%s','%s','%s')"
/* "bans" is like "no string here" in the first example, it is outside the quotes */
Reply


Messages In This Thread
Help With MySQL Ban List Script - by jeff223 - 09.08.2009, 12:39
Re: Help With MySQL Ban List Script - by Sergei - 09.08.2009, 12:53
Re: Help With MySQL Ban List Script - by jeff223 - 09.08.2009, 13:21
Re: Help With MySQL Ban List Script - by Sergei - 09.08.2009, 13:34
Re: Help With MySQL Ban List Script - by jeff223 - 09.08.2009, 13:44
Re: Help With MySQL Ban List Script - by Sergei - 09.08.2009, 13:53
Re: Help With MySQL Ban List Script - by jeff223 - 09.08.2009, 14:00
Re: Help With MySQL Ban List Script - by WrathOfGenesis - 09.08.2009, 14:01
Re: Help With MySQL Ban List Script - by bogeymanEST - 09.08.2009, 14:04
Re: Help With MySQL Ban List Script - by jeff223 - 09.08.2009, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)