MySQL Account Problem
#6

pawn Код:
format(Query, sizeof(Query), "INSERT INTO `Players` (Username, Password) VALUES('%s', '%s')", EscapedName, inputtext);
That's the first problem I've noticed. If you use the grave for a field/table name, you have to continue using it for other field and table names, you can't just use it once and then revert to the standard of not using them, so:

pawn Код:
format(Query, sizeof(Query), "INSERT INTO `Players` (`Username`, `Password`) VALUES('%s', '%s')", EscapedName, inputtext);
should work without a problem, I haven't fully read your post, but I assume that was apart of your problem as queries don't tend to send with that problem.
Reply


Messages In This Thread
MySQL Account Problem - by Pangea - 05.03.2011, 22:34
AW: MySQL Account Problem - by xerox8521 - 05.03.2011, 22:43
Re: MySQL Account Problem - by Pangea - 05.03.2011, 22:47
AW: MySQL Account Problem - by xerox8521 - 05.03.2011, 23:14
Re: MySQL Account Problem - by Pangea - 12.03.2011, 23:37
Re: MySQL Account Problem - by Calgon - 12.03.2011, 23:56
Re: MySQL Account Problem - by Pangea - 13.03.2011, 00:10

Forum Jump:


Users browsing this thread: 2 Guest(s)