Little issue with a command
#3

Quote:
Originally Posted by Mugala
Посмотреть сообщение
problem is here.
PHP код:
                        GetPlayerIp(otherIDplayersIPsizeof(playersIP)); 
                        
format(querysizeof(query), "SELECT playerName FROM playerdata  WHERE playerIP`='%s' ORDER BY `playerName asc"playersIP);     
                        
mysql_query(query); 
                        
mysql_store_result(); 
                        new 
i=0
                        new 
num=mysql_num_rows(); 
                        new 
row[20]; 
                        if(
mysql_num_rows()) 
and probably in here format(query, sizeof(query), "SELECT playerName FROM playerdata WHERE playerIP`='%s' ORDER BY `playerName asc", playersIP);
check the mysql logs, if there's no such kind of error/warning than use this function
format(query, sizeof(query), "SELECT playerName FROM playerdata WHERE `playerIP`= '%s' ORDER BY playerName asc", playersIP);
Thanks appreciated.
Reply


Messages In This Thread
Little issue with a command - by RxErT - 11.02.2018, 16:31
Re: Little issue with a command - by Mugala - 11.02.2018, 16:38
Re: Little issue with a command - by RxErT - 11.02.2018, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)