Originally Posted by Mugala
problem is here.
PHP код:
GetPlayerIp(otherID, playersIP, sizeof(playersIP));
format(query, sizeof(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);
|