MySQL loading problem
#1

My code is:
Код:
format(query,sizeof(query),"SELECT * FROM players WHERE user = '%s'",name(playerid));
    mysql_function_query(conn,query,false,"","");
    for(new i = 0, j = cache_get_row_count(); i < j ; i++)
	{
	   	cache_get_field_content(i,"name",playerInfo[playerid][user],conn,128);
        cache_get_field_content(i,"pass",playerInfo[playerid][pass],conn,128);
	}
But this just doesn't load anything in playerinfo[playerid]user] or playerinfo[playerid]user], can someone help me please
Reply


Messages In This Thread
MySQL loading problem - by SandKing94 - 16.05.2015, 07:47
Re: MySQL loading problem - by dominik523 - 16.05.2015, 08:02
Re: MySQL loading problem - by SandKing94 - 16.05.2015, 08:22
Re: MySQL loading problem - by SandKing94 - 16.05.2015, 08:53
Re: MySQL loading problem - by PowerPC603 - 16.05.2015, 09:01
Re: MySQL loading problem - by Konstantinos - 16.05.2015, 09:33
Re: MySQL loading problem - by SandKing94 - 16.05.2015, 09:44
Re: MySQL loading problem - by SandKing94 - 16.05.2015, 10:20
Re: MySQL loading problem - by rappy93 - 16.05.2015, 10:43
Re: MySQL loading problem - by SandKing94 - 16.05.2015, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)