String returning a weird value
#7

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
You are using the incorrect MySQL query syntax in your /unban command. In other words, table and column names must be enclosed in grave accents (`), not singular quotes.

Try:

pawn Код:
SELECT * FROM `BannedAccounts` WHERE `UserName` = %s
I'm not quite sure, but I think the %s should be enclosed between ' ' aswell. Just like this:

pawn Код:
SELECT * FROM `BannedAccounts` WHERE `UserName` = '%s'
Reply


Messages In This Thread
String returning a weird value - by [CG]Milito - 09.10.2014, 03:07
Re: String returning a weird value - by The__ - 09.10.2014, 03:12
Re: String returning a weird value - by ThePhenix - 09.10.2014, 03:20
Re: String returning a weird value - by [CG]Milito - 09.10.2014, 03:26
Re: String returning a weird value - by [CG]Milito - 09.10.2014, 03:34
Re: String returning a weird value - by Emmet_ - 09.10.2014, 03:54
Re: String returning a weird value - by ThePhenix - 09.10.2014, 04:05

Forum Jump:


Users browsing this thread: 2 Guest(s)