Probably MySql connection issues.
#3

pawn Код:
format(logi, sizeof(logi), "SELECT 1 FROM kasutajad WHERE nimi = '%s' LIMIT 1", Name);
Maybe there's the problem? You're selecting the column 1 and i don't know is it possible to create column names like this. But maybe write there id or name something like this.

And i'm not sure if mysql_num_rows right there or not. I don't script MySQL since 1 month on Pawn, have forgot a lot of things.
Reply


Messages In This Thread
Probably MySql connection issues. - by Trooja - 22.06.2013, 11:19
Re: Probably MySql connection issues. - by Trooja - 26.06.2013, 07:42
AW: Probably MySql connection issues. - by Skimmer - 26.06.2013, 09:24

Forum Jump:


Users browsing this thread: 2 Guest(s)