Posts: 6,129
Threads: 36
Joined: Jan 2009
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.