Help data won't load from MySQL
#3

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
Reply


Messages In This Thread
Help data won't load from MySQL - by X337 - 23.10.2014, 11:32
Re: Help data won't load from MySQL - by AzaMx - 23.10.2014, 14:45
Re: Help data won't load from MySQL - by dusk - 23.10.2014, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)