MySQL problem.
#6

Afaik an id isn't a string.

Quote:

format(Query, sizeof(Query), "SELECT * FROM `players` WHERE `id` = '%d'", KasutajaInfo[playerid][pSQLID] );

should be

Quote:

format(Query, sizeof(Query), "SELECT * FROM `players` WHERE `id` = %d", KasutajaInfo[playerid][pSQLID] );

Reply


Messages In This Thread
MySQL problem. - by tsonn1 - 02.11.2012, 14:26
Re: MySQL problem. - by DBan - 02.11.2012, 14:29
Re: MySQL problem. - by tsonn1 - 02.11.2012, 16:42
Re: MySQL problem. - by tsonn1 - 03.11.2012, 12:06
Re: MySQL problem. - by tsonn1 - 03.11.2012, 19:04
Re: MySQL problem. - by Michael@Belgium - 03.11.2012, 19:17
Re: MySQL problem. - by tsonn1 - 04.11.2012, 07:45
Re: MySQL problem. - by tsonn1 - 04.11.2012, 17:18
Re: MySQL problem. - by Shaneisace - 04.11.2012, 18:30
Re: MySQL problem. - by SuperViper - 06.11.2012, 14:18

Forum Jump:


Users browsing this thread: 3 Guest(s)