23.10.2014, 17:31
What does the mysq log say?
Also a few tips:
You don't need to check if mysql_num_rows, the while loop will only run if there are any as mysql_fetch_field moves the internal cursor or returns 0 if there are no more rows.
Why are the size of player name variable is only 16? You should use the constant MAX_PLAYER_NAME
Also a few tips:
You don't need to check if mysql_num_rows, the while loop will only run if there are any as mysql_fetch_field moves the internal cursor or returns 0 if there are no more rows.
Why are the size of player name variable is only 16? You should use the constant MAX_PLAYER_NAME